tazpkg diff modules/help @ rev 886
Change icons presentation in code - free to use anywhere, simplify icons substitution, minify html, misc
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 10 04:08:41 2015 +0200 (2015-12-10) |
parents | e2e188861988 |
children | bbc6b0a453a7 |
line diff
1.1 --- a/modules/help Sat Nov 28 13:46:13 2015 +0200 1.2 +++ b/modules/help Thu Dec 10 04:08:41 2015 +0200 1.3 @@ -130,7 +130,7 @@ 1.4 1.5 1.6 # style: <article id="TOPIC"> 1.7 -HLP=$(sed "/article id=\"$T\"/,/<\/article/!d; /<article/d; /<\/article/d" $DOC) 1.8 +HLP=$(sed "/article id=\"$T\"/,/<\/article/!d; s|</*article[^>]*>||; s|<h3>.*</h3>||" $DOC) 1.9 1.10 if [ -z "$HLP" ]; then 1.11 _ 'Sorry, no help for "%s"' "$QUERY"