-
Notifications
You must be signed in to change notification settings - Fork 429
New Feature - no newlines in output #231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Added another fix #232 to this branch, bumped the version, and added a RC_NUMBER (D231) to -v output... In a few weeks of testing so far of this Testing and comments appreciated... |
This was evidenced by an 'assert' failure, that the type was not an 'int'! And also in the -xml-help output, thus effecting the tidy.1 manual page for this new feature --vertical-space auto, which produces almost single line html output. This 'fix' began in the issue-228 branch - see Issue #231
Pushed a small 'fix' for the -xml-help output, used in the tidy.1 man page generation... |
Have been strongly testing this For me, Tidy! remains This included running alltest.cmd and comparing the new output to the Some changes, some for fixes added to The most noteable of these is the restoring of the And the changed treatement of pre and textarea tags, issue #228 and others, accounted for another dozen of so ouput changes... And accepting What this means is that after this merge of Have already experimentally done this merge and seems no conflict problems... so will get to this in the comming days, hopefully not weeks ;=(). Then these new features will be in |
Found what appears to be a bug! see #238 which may hold up the merge to |
Eventually got around to fully merging the Still to update the Look forward to everybody heavily testing this feature, and the several other fixes included at the same time... Tidy On the other hand maybe 5.1.8 includes some important bug fixes which should be put out there soonest... so should not wait too long... although, as always, it is hoped some package managers will pick up on this |
New Feature - no newlines in output
This is being
developed
in theissue-228
branch...Use
$ git checkout issue-228
to get it...We have been working towards a new feature for Tidy!
Announcing the
compact
html output feature!Some like vertical space for readbility in their (IDE) HTML Editor.. And there existed a
classic
mode which added a few more newlines to the output. The HTML is well spread out vertically... needed, loved by some...But if we are talking about a
modern
html5++ aware Tidy!, then maybe a compact html mode is the best... That is the html output as nearly one line, perhaps killing some readability. But how often is thesource
html read by the user these days?So in the theme that
auto
lets Tidy! choose the BEST output, the option--vertical-space auto
will produce an output almost without any newline chars... A NEW FEATURESome newline chars are kept for few tags like
<pre>
,<style>
,<script>
, ... but thisauto
options creates the smallest possible html file for transmission over internet...For backwards compatibily
--vertical-space no
and--vertical-space yes
will continue to produce what they have in the past, so no need to change yourconfig
file... unless you want to take advantage of the newauto
configuration option.This started as several things, discussions -
<pre>
eaten..<pre>
, ...This vertical-space is an important option, and in this branch it is now increased to three(3) modes... only
auto
changes anything...For testing please
$ git checkout issue-228
, compile and test... unfortunately the lib.version will continue to show 5.1.2 for thisbranch
, so take care in testing...When tested and agreed, will be merged with
master
...The text was updated successfully, but these errors were encountered: