Loading ...
Sorry, an error occurred while loading the content.

Re: [vim][bug-fix] 2html.vim

Expand Messages
  • Bram Moolenaar
    ... OK. ... Yes, then a URL inside works properly. I ll use the second command you sent for this. Thanks! -- hundred-and-one symptoms of being an internet
    Message 1 of 3 , Jul 30, 2003
    • 0 Attachment
      Luc Hermitte wrote:

      > I guess this is for Bram.
      >
      > All the "normal" must be changed into "normal!" in 2html.vim. Indeed, we
      > may have local mappings and abbreviation that could mess up the
      > convertion.
      > -> :%s/normal/normal!/

      OK.

      > Moreover, there is a little bug at the line 364 (from 2003 31 May version).
      > When the :substitute is executed, '<' and '>' have already been
      > transformed into '<' and '>'.
      >
      > Hence,
      >
      > %s+\(http://\S\{-}\)\(\([.,;:]\=\(\s\|$\)\)\|[\\"'<>]\)+<A HREF="\1">\1</A>\2+ge
      >
      > must become:
      >
      > %s+\(http://\S\{-}\)\(\([.,;:]\=\(\s\|$\)\)\|[\\"']\|>\|<\)+<A HREF="\1">\1</A>\2+ge

      Yes, then a URL inside <> works properly. I'll use the second command
      you sent for this.

      Thanks!

      --
      hundred-and-one symptoms of being an internet addict:
      17. You turn on your intercom when leaving the room so you can hear if new
      e-mail arrives.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.