1

Topic: HTML5 support in htmLawed

Is there any update as to the progress on releasing a version with HTML5 support?

2

Re: HTML5 support in htmLawed

I have a version ready and will release it by this Sunday.

3

Re: HTML5 support in htmLawed

Awesome to hear, thanks :)

4

Re: HTML5 support in htmLawed

Sorry, I didn't get enough time to complete this... but should be able to get the new version out this week.

5

Re: HTML5 support in htmLawed

Eager to hear. In particular I'd like support for the void element WBR, which should probably be in the "safe" category.

6

Re: HTML5 support in htmLawed

Any further updates?

7

Re: HTML5 support in htmLawed

I apologize for the continuing delay... I am giving a final touch to the documentation and performing a few tests. I promise to release the version by this weekend whatever its state (which I think is good).

@mrclay, in case your need is urgent, you can modify the current htmLawed code for support for 'wbr' as follows:

// line numbers refer to those of htmLawed.php for htmLawed version 1.1.14

// line 20, in function htmLawed; edit $e array to add 'wbr'
$e = array(..., 'wbr'=>1);

// line 147, in function hl_bal; edit $cE array to add 'wbr'
$cE = array(..., 'wbr'=>1);

// line 159, in function hl_bal; edit $eI array to add 'wbr'
$eI = array(..., 'wbr'=>1);

// line 431, in function hl_tag; edit $eE array to add 'wbr'
static $eE = array(..., 'wbr'=>1);

8

Re: HTML5 support in htmLawed

See this post on the new htmLawed release.