Markus Heidelberg wrote:
> > > > So how can we bypass this? Splitting s:HtmlFormat() in two
> > > > functions, one for conversion of the HTML characters, the other for
> > > > generation of the HTML tags? Then we could probably add
> > > > s:LeadingSpace between these two function calls.
> > >
> > > What about this?
> >
> > Looks a lot better.
> >
> > Perhaps HtmlFormatTags() could be called HtmlFormatSpan()?
>
> OK, I did it. I also renamed HtmlFormatReserved() to HtmlFormatChars() since
> it doesn't only handle HTML reserved characters.
>
> > Not sure if HtmlFormatTags() also need to replace unprintable chars.
>
> Now it's only done in HtmlFormatChars().
>
> It seems as if the replacement of "\x0c" in line 112 doesn't have any effect.
> Unprintable characters are already replaced and the class PAGE-BREAK isn't
> defined anywhere.
Thanks. I'll add this to my (very long) todo list.
--
FIRST HEAD: All right! All right! We'll kill him first and then have tea and
biscuits.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---