[Privoxy-devel] tidy -indent -wrap can break <pre> formatting
Lee
ler762 at gmail.com
Sat Mar 31 13:35:25 UTC 2018
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.
Seems fixed to me - see how you like it:
git clone https://github.com/htacg/tidy-html5.git
cd tidy-html5
git checkout issue-697-1
cd build/cmake
cmake ../.. -DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIB:BOOL=OFF -DCMAKE_INSTALL_PREFIX=/usr/local
make && make install
Lee
More information about the Privoxy-devel
mailing list