Mercurial > hgrepos > hgweb.cgi > s4
changeset 483:be821d63848c
Consecutive 3 or more hyphens become <hr>
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 02 Feb 2018 09:45:55 +0900 |
parents | 3dc012eb1ad0 |
children | 66189fcd8c0c |
files | s4-funcs.sh |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Mon Jan 15 09:33:12 2018 +0900 +++ b/s4-funcs.sh Fri Feb 02 09:45:55 2018 +0900 @@ -482,7 +482,8 @@ -e "s|^iframe=\($_hrefptn\)|<iframe src=\"\1\"></iframe>|" \ -e "s,^#### *\(.*\),<h4>\1</h4>," \ -e "s,^### *\(.*\),<h3>\1</h3>," \ - -e "s,^## *\(.*\),<h2>\1</h2>," + -e "s,^## *\(.*\),<h2>\1</h2>," \ + -e 's,^----*$,<hr>,' } minitbl() { sed -n '