make </p> http:// link right again
This commit is contained in:
parent
5c42980857
commit
99d944dc90
|
@ -1058,7 +1058,7 @@ class Interface:
|
|||
#detects eg. *b* *bold* *bold bold* test *bold* *bold*! (*bold*)
|
||||
#doesn't detect (it's a feature :P) * bold* *bold * * bold * test*bold*
|
||||
formatting = r'(?<!\w)' r'\*[^\s*]' r'([^*]*[^\s*])?' r'\*(?!\w)|'\
|
||||
r'(?<!\w)' r'/[^\s/]' r'([^/]*[^\s/])?' r'/(?!\w)|'\
|
||||
r'(?<!\w|\<)' r'/[^\s/]' r'([^/]*[^\s/])?' r'/(?!\w)|'\
|
||||
r'(?<!\w)' r'_[^\s_]' r'([^_]*[^\s_])?' r'_(?!\w)'
|
||||
|
||||
basic_pattern = links + mail + formatting
|
||||
|
|
Loading…
Reference in New Issue