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:
1770ed9
)
add include system.
author
hylom
<hylom@users.sourceforge.jp>
Thu, 21 May 2009 10:42:39 +0000
(19:42 +0900)
committer
hylom
<hylom@users.sourceforge.jp>
Thu, 21 May 2009 10:42:39 +0000
(19:42 +0900)
markupper.py
patch
|
blob
|
history
diff --git
a/markupper.py
b/markupper.py
index
e21fd2a
..
6f7d51c
100755
(executable)
--- a/
markupper.py
+++ b/
markupper.py
@@
-263,14
+263,14
@@
class Markupper(object):
def _list(self, line):
try:
- str_title = re.search("^☆(リスト.*)$", line).group(1)
+ str_title = re.search(
ur
"^☆(リスト.*)$", line).group(1)
except AttributeError:
str_title = ""
print "<p><b>%s</b></p>" % (str_title)
print self._list_start()
for line in self.input_iter:
- line = line.strip()
+ line = line.strip(
"\n\r"
)
line = line.replace("&", "&")
line = line.replace("<", "<")
line = line.replace(">", ">")