Re: [tagsoup-friends] Tagsoup handling newlines inside <pre> tags

36 views
Skip to first unread message

John Cowan

unread,
Sep 17, 2012, 8:44:45 PM9/17/12
to zed, tagsoup...@googlegroups.com
zed scripsit:

> I'm using tagsoup 1.2.1 and wanted to know if there is a way to retain
> newlines inside <pre> tags.
>
> Currently it seems to be handled like all other tags, and the newline is
> converted to a space.

TagSoup *never* converts newlines to spaces in the content of any element,
only in attribute values. So it must be some other component you are
using that is doing that transformation. You can easily check this by
running TagSoup on the command line.

--
We do, doodley do, doodley do, doodley do, John Cowan <co...@ccil.org>
What we must, muddily must, muddily must, muddily must;
Muddily do, muddily do, muddily do, muddily do, http://www.ccil.org/~cowan
Until we bust, bodily bust, bodily bust, bodily bust. --Bokonon

zed

unread,
Sep 18, 2012, 3:05:20 PM9/18/12
to tagsoup...@googlegroups.com, zed, co...@mercury.ccil.org
Thanks, that helped!
Reply all
Reply to author
Forward
0 new messages