Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplified tags -> hyperlinks conversion hack
The longer I use publish.vim the more I start to push the boundaries of its current implementation. This necessitated the following changes: * Recently the plug-in started crashing Vim with a segmentation fault. It turned out the plug-in was generating a corrupt regular expression because of tags containing unescaped [ characters: http://groups.google.com/group/vim_dev/browse_frm/thread/3c705d4ab811c979 * After fixing the above bug Vim started throwing "E339: Pattern too long" errors which were apparently caused by the complexity (not the length) of the generated regular expression so I had to remove the ignore_html() hack and replace it with a much simpler hack: Slightly tweak Vim's syntax highlighting before running 2html.vim so that all tags appear literally in the output of 2html.vim.
- Loading branch information
Showing
2 changed files
with
18 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters