tazbug rev 155
fix wiki_parser for "
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 10 10:36:26 2019 +0100 (2019-01-10) |
parents | 5ce0583b6113 |
children | 435cc2b750a5 |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Wed Jan 09 23:47:06 2019 +0100 1.2 +++ b/web/bugs.cgi Thu Jan 10 10:36:26 2019 +0100 1.3 @@ -299,7 +299,7 @@ 1.4 sed \ 1.5 -e s"#http://\([^']*\).png#<img src='\0' alt='[ Image ]' />#"g \ 1.6 -e s"#http://\([^']*\).*# <a href='\0'>\1</a>#"g \ 1.7 - -e 's#\\\\n##g;s#%22#"#g;s#%21#!#g' 1.8 + -e 's#\\\\n##g;s#\\"#"#g;s#%22#"#g;s#%21#!#g' 1.9 } 1.10 1.11 # Bug page 1.12 @@ -516,11 +516,11 @@ 1.13 <tbody> 1.14 <tr> 1.15 <td>$(gettext "Bug title")</td> 1.16 - <td><input type="text" name="bug" value="$BUG" /></td> 1.17 + <td><input type="text" name="bug" value="$${BUG//\"/"}" /></td> 1.18 </tr> 1.19 <tr> 1.20 <td>$(gettext "Description")</td> 1.21 - <td><textarea name="desc">$(cat $bugdir/$id/desc.txt)</textarea></td> 1.22 + <td><textarea name="desc">$(sed 's|\\"|\"|' $bugdir/$id/desc.txt)</textarea></td> 1.23 </tr> 1.24 <tr> 1.25 <td>$(gettext "Packages")</td>