fixed issue 728, bug in languages, thanks pgergo
This commit is contained in:
+3
-2
@@ -190,7 +190,7 @@ def URL(
|
||||
|
||||
>>> str(URL(a='a', c='c', f='f', vars={'id' : '%(id)d' }, url_encode=True))
|
||||
'/a/c/f?id=%25%28id%29d'
|
||||
|
||||
|
||||
>>> str(URL(a='a', c='c', f='f', anchor='%(id)d', url_encode=False))
|
||||
'/a/c/f#%(id)d'
|
||||
|
||||
@@ -1423,7 +1423,7 @@ class CODE(DIV):
|
||||
link = self['link']
|
||||
counter = self.attributes.get('counter', 1)
|
||||
highlight_line = self.attributes.get('highlight_line', None)
|
||||
context_lines = self.attributes.get('context_lines', None)
|
||||
context_lines = self.attributes.get('context_lines', None)
|
||||
styles = self['styles'] or {}
|
||||
return highlight(
|
||||
join(self.components),
|
||||
@@ -2359,3 +2359,4 @@ if __name__ == '__main__':
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user