Skip to content

Fix return type of TruncateHTML::init()

  1. Add temporary comment to trigger CI tests to verify the problem is real.
  2. Remove comment.
  3. Change return type of init() function to DOMNode.

It would seem that HTML::load() was returning a DOMNode all along, but it wasn't being caught because that function didn't previously have a return type specified.

Closes #3511681

Edited by James Shields

Merge request reports

Loading