Please sign in to comment.
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...