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()?

Not sure if HtmlFormatTags() also need to replace unprintable chars.


-- 
       In war we're tough and able.
       Quite indefatigable
       Between our quests
       We sequin vests
       And impersonate Clark Gable
       It's a busy life in Camelot.
       I have to push the pram a lot.
                 "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
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui