Mercurial > hgrepos > hgweb.cgi > s4
changeset 1016:b47c4aa5f7a4 draft
Fix escaping of \;;;
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 01 Aug 2023 11:37:29 +0900 |
parents | 40128a291cae |
children | f5b97df8d824 |
files | s4-funcs.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Tue Aug 01 11:32:33 2023 +0900 +++ b/s4-funcs.sh Tue Aug 01 11:37:29 2023 +0900 @@ -660,7 +660,7 @@ -e 's, __\([^_ |][^_]*[^ ]\)__ ,<strong>\1</strong>,g' \ -e 's, \*\([^* |][^*|]*[^ |]\)\* ,<em>\1</em>,g' \ -e 's, _\([^_ ][^_]*[^ ]\)_ ,<em>\1</em>,g' \ - -e 's,\([^\\]\);;;,<br>,g' \ + -e 's,\([^\\]\);;;,\1<br>,g;s,\\;;;,;;;,g' \ -e 's, $,<br>,' \ -e "s,- \[ *\]\([^|-]*\),${checkboxOFF}<label>\\1</label>,g" \ -e "s,- \[[^ ]\]\([^|-]*\),${checkboxON}<label>\\1</label>,g" \