OSDN Git Service
(root)
/
otptools
/
otptools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce13044
)
add *b rule inside pre tag.
author
hylom
<hylom@users.sourceforge.jp>
Thu, 23 Apr 2009 10:33:49 +0000
(19:33 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Thu, 23 Apr 2009 10:33:49 +0000
(19:33 +0900)
markupper.py
patch
|
blob
|
history
diff --git
a/markupper.py
b/markupper.py
index
f4c6145
..
9e4f9fc
100755
(executable)
--- a/
markupper.py
+++ b/
markupper.py
@@
-285,7
+285,7
@@
class Markupper(object):
line = line.replace("&", "&")
line = line.replace("<", "<")
line = line.replace(">", ">")
- line = line = re.sub(ur"
★
b\[(.*?)]", ur"<b>\1</b>", line)
+ line = line = re.sub(ur"
[★*]
b\[(.*?)]", ur"<b>\1</b>", line)
if re.search(ur"^☆\+---$", line):
break