> if you can fix the issue to accept ">"
I am having second thoughts about this.
While htmLawed or any similar software can deal with malformed HTML to some degree, it cannot obviously handle ill-written HTML of any kind. You can imagine malformed HTML text in which the original intent of the author (the correct HTML) can be interpreted in more than one way.
It is possible to have logic in the code to decipher the 'most likely correct' HTML but it comes at a cost -- code size and complexity, and processing time -- and it still will not work 100% of the time.
So, for the time-being, I probably will not look to implement a 'fix' for the issue.
In case you are interested, roughly speaking, htmLawed starts by first breaking the input text into fragments and further processes those of type <xxx> (line 104, current version of htmLawed.php). htmLawed then reads the HTML element name and attribute name-value pairs in the fragment. It looks for xxx="xxx", xxx='xxx' and xxx=xxx patterns to identify the name-value pairs (line 476). This is where it filters out the URL in the example you have posted about. By making htmLawed accept xxx="xxx, it is possible to make it accept the URL value for 'href' but you can imagine scenarios where this can lead to 'misreading' of malformed HTML.