tinycm diff plugins/export/export.cgi @ rev 33

Tiny edits
author Paul Issott <paul@slitaz.org>
date Mon Jan 06 21:22:04 2014 +0000 (2014-01-06)
parents 09f5185ff6e0
children c4a472d0a45e
line diff
     1.1 --- a/plugins/export/export.cgi	Mon Jan 06 14:49:12 2014 +0000
     1.2 +++ b/plugins/export/export.cgi	Mon Jan 06 21:22:04 2014 +0000
     1.3 @@ -5,9 +5,9 @@
     1.4  . /usr/lib/slitaz/httphelper
     1.5  
     1.6  #
     1.7 -# NOTE: Exporting wiki and make all url's work is is a bit tricky and
     1.8 -# actually don't work as expected. The goal is to have a SliTaz codex
     1.9 -# online thta can be include on the ISO, so we could have an export
    1.10 +# NOTE: Exporting wiki and making all urls work is a bit tricky and
    1.11 +# actually doesn't work as expected. The goal is to have a SliTaz codex
    1.12 +# online that can be included on the ISO, so we could have an export
    1.13  # including a small CGI script to simply display wiki pages via HTTPd
    1.14  # knowing that with HTML we must also deal with ../../
    1.15  #
    1.16 @@ -87,7 +87,7 @@
    1.17  				sed -i s'/index.cgi/index.html/'/ ${f}
    1.18  				doc="[0-9a-zA-Z\.\#/~\_%=\?\&,\+\:@;!\(\)\*\$'\-]*"
    1.19  				#
    1.20 -				# The sed from wiki url's to html bug if there is 2 link
    1.21 +				# The sed from wiki urls to html bug if there is 2 links
    1.22  				# on same line: [test|Test] tralala [en/index|English]
    1.23  				#
    1.24  				cat $d.txt | wiki_parser | sed \