You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not specific to this version of HTML Tidy, i.e. it was in previous versions as well. Seems like this is a good place to address it however.
As you may know the latest development branch is develop-500
$ git checkout develop-500
We hope you get a chance to check it out ;=))
But using your xml sample and config I can confirm this 'feature' is still in tidy code today ;=((
So technically this should be labelled a feature request, but for now will leave it as a bug, and see what can be done about it... should not be so hard to push the closing para to a new line...
@Pajamaman, given that this has been a 'feature' of tidy for a long LONG time, I am not inclined to continue the search to change this behavior.
Please note it is no longer necessary to checkout the develop-500 branch. All the latest is in the default master branch as we head towards a 5.0.0 release...
I'll close this for now, but feel free to re-open, or open new issues... Thanks for reporting...
This issue is not specific to this version of HTML Tidy, i.e. it was in previous versions as well. Seems like this is a good place to address it however.
Config:
indent: yes
indent-spaces: 4
input-xml: yes
output-xml: yes
new-blocklevel-tags: para
wrap: 0
XML:
Converts to:
Should be:
The text was updated successfully, but these errors were encountered: