doMakeSameDomainsLinksRelative only takes string and array values, but src/Template.php casts $status to being bool which in turn leads to the TypeError being described in #23 - the proposed code checks for these and applies doMakeSameDomainsLinksRelative if everything's okay.
doMakeSameDomainsLinksRelative
only takesstring
andarray
values, butsrc/Template.php
casts$status
to beingbool
which in turn leads to theTypeError
being described in #23 - the proposed code checks for these and appliesdoMakeSameDomainsLinksRelative
if everything's okay.Fixes #23