Mercurial > hgrepos > hgweb.cgi > s4
comparison s4-funcs.sh @ 1014:7976c8e5e628 draft
Translate ;;; to <br>
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 01 Aug 2023 11:26:56 +0900 |
parents | 8de17709d0a2 |
children | 40128a291cae |
comparison
equal
deleted
inserted
replaced
1013:1ffaa8b2b1bf | 1014:7976c8e5e628 |
---|---|
658 -e 's,^----*$,<hr>,' \ | 658 -e 's,^----*$,<hr>,' \ |
659 -e 's, \*\*\([^* |][^*|]*[^ |]\)\*\* ,<strong>\1</strong>,g' \ | 659 -e 's, \*\*\([^* |][^*|]*[^ |]\)\*\* ,<strong>\1</strong>,g' \ |
660 -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ | 660 -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ |
661 -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ | 661 -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ |
662 -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' \ | 662 -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' \ |
663 -e 's,\([^\\]\);;;,\1<br>,g' \ | |
663 -e 's, $,<br>,' \ | 664 -e 's, $,<br>,' \ |
664 -e "s,- \[ *\]\([^|-]*\),${checkboxOFF}<label>\\1</label>,g" \ | 665 -e "s,- \[ *\]\([^|-]*\),${checkboxOFF}<label>\\1</label>,g" \ |
665 -e "s,- \[[^ ]\]\([^|-]*\),${checkboxON}<label>\\1</label>,g" \ | 666 -e "s,- \[[^ ]\]\([^|-]*\),${checkboxON}<label>\\1</label>,g" \ |
666 | 667 |
667 } | 668 } |