Behold my XHTML strictness
This commit is contained in:
parent
cfec377348
commit
fb86ce1e6e
3 changed files with 27 additions and 12 deletions
8
vim-tohtml-fix
Executable file
8
vim-tohtml-fix
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
f=$1
|
||||
|
||||
perl -pi -e 's!<font color="#6b59ce">(.*?)</font>!<span class="vim-quote">\1</span>!g' $f
|
||||
perl -pi -e 's!<font color="#a52829">(.*?)</font>!<span class="vim-statement">\1</span>!g' $f
|
||||
perl -pi -e 's!<font color="#ff00ff">(.*?)</font>!<span class="vim-constant">\1</span>!g' $f
|
||||
perl -pi -e 's!<font color="#a520f7">(.*?)</font>!<span class="vim-control">\1</span>!g' $f
|
||||
perl -pi -e 's!<font color="#008a8c">(.*?)</font>!<span class="vim-var">\1</span>!g' $f
|
Reference in a new issue