[Privoxy-devel] tidy -indent -wrap can break <pre> formatting
Lee
ler762 at gmail.com
Wed Mar 14 11:55:05 UTC 2018
On 3/14/18, Fabian Keil <fk at fabiankeil.de> wrote:
> Lee <ler762 at gmail.com> wrote:
>
>> On 3/13/18, Fabian Keil <fk at fabiankeil.de> wrote:
>> > Lee <ler762 at gmail.com> wrote:
>> >
>> >> I'm trying to add a FAQ entry and I just can't get the formatting
>> >> right. Turns out the problem is with tidy indent + wrap: short lines
>> >> don't get screwed up, long lines are split after <pre> and indented
>> >
>> > This is a know issue. I believe it started to occur
>> > after the switch to tidy 5.
>> >
>> >> Anyone have a problem with changing the line in GNUmakefile.in
>> >> TIDY = tidy -modify -indent -wrap 78 --tidy-mark no
>> >> to -wrap 120
>> >
>> > I don't have a problem with this work around but obviously
>> > would prefer a proper fix.
<.. snip window size q ..>
>>
>> How do you want me doing branches & commits?
>>
>> I started out creating a 'faq' branch, added the new faq entry & tried
>> various things to get the formatting right. I can't figure out a
>> work-around other than changing the tidy line wrap to something
>> larger, so created a 'tidy' branch off the 'faq' branch and modify
>> GNUmakefile.in
>>
>> What to do now?
<.. snip ..>
> Clean up your commits (if necessary), rebase master
> on top of your local branches (or cherry-pick the
> commits to master) and push master.
OK - the two changes have been pushed
>> and then what to do with all the generated html files?
>
> Commit and push them to master as well.
That's a log of pushing. Just to be sure, you want me to push all this:
$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: INSTALL
modified: README
modified: doc/webserver/developer-manual/coding.html
modified: doc/webserver/developer-manual/cvs.html
modified: doc/webserver/developer-manual/documentation.html
modified: doc/webserver/developer-manual/index.html
modified: doc/webserver/developer-manual/introduction.html
modified: doc/webserver/developer-manual/newrelease.html
modified: doc/webserver/developer-manual/testing.html
modified: doc/webserver/developer-manual/webserver-update.html
modified: doc/webserver/faq/configuration.html
modified: doc/webserver/faq/contact.html
modified: doc/webserver/faq/copyright.html
modified: doc/webserver/faq/general.html
modified: doc/webserver/faq/index.html
modified: doc/webserver/faq/installation.html
modified: doc/webserver/faq/misc.html
modified: doc/webserver/faq/trouble.html
modified: doc/webserver/index.html
modified: doc/webserver/privoxy-index.html
modified: doc/webserver/sponsors/index.html
modified: doc/webserver/team/index.html
modified: doc/webserver/user-manual/actions-file.html
modified: doc/webserver/user-manual/appendix.html
modified: doc/webserver/user-manual/config.html
modified: doc/webserver/user-manual/configuration.html
modified: doc/webserver/user-manual/contact.html
modified: doc/webserver/user-manual/copyright.html
modified: doc/webserver/user-manual/filter-file.html
modified: doc/webserver/user-manual/index.html
modified: doc/webserver/user-manual/installation.html
modified: doc/webserver/user-manual/introduction.html
modified: doc/webserver/user-manual/quickstart.html
modified: doc/webserver/user-manual/seealso.html
modified: doc/webserver/user-manual/startup.html
modified: doc/webserver/user-manual/templates.html
modified: doc/webserver/user-manual/whatsnew.html
no changes added to commit (use "git add" and/or "git commit -a")
Thanks,
Lee
More information about the Privoxy-devel
mailing list