[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/doc
From: Yuri Chornoivan <yurchor () ukr ! net>
Date: 2010-09-26 15:36:53
Message-ID: 20100926153653.13946AC857 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1179943 by yurchor:
+some entities (&ie;, ⪚, &etc;)
M +9 -0 wiki2docbook.py
--- branches/work/doc/wiki2docbook.py #1179942:1179943
@@ -541,6 +541,15 @@
#&nbsp; -> make it a valid entity
outtext=outtext.replace('&nbsp;',' ')
+#etc. -> &etc; make an entity
+outtext=outtext.replace('etc.','&etc;')
+
+#i.e. -> &ie; make it an entity
+outtext=outtext.replace('i.e.','&ie;')
+
+#e.g. -> ⪚ make it an entity
+outtext=outtext.replace('e.g.','⪚')
+
#-&gt; -> ->
# proper fix would be to add markup menuchoice..., but how to detect if the menu or \
menuitem has one or more words? outtext=outtext.replace('-&gt;','->')
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic