Created attachment 153646 [details] Patch against lang/php5 to add the option for www/php5-tidy The attached patch (against lang/php5) adds an option to switch from tidy-lib (i.e. tidy4) to tidy-html5 (i.e. tidy5).
Created attachment 155786 [details] Patch for php56 Adding the patch for the default PHP version.
I shall resubmit a PR dealing with php70.