Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tomd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Чумбаев Максим
tomd
Commits
963d5cd0
Commit
963d5cd0
authored
Nov 07, 2017
by
zsinx6
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add img single tag without closing
parent
2f1515f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tomd.py
tomd.py
+1
-0
No files found.
tomd.py
View file @
963d5cd0
...
...
@@ -70,6 +70,7 @@ INLINE_ELEMENTS = {
'li'
:
'<li.*?>(.*?)</li>'
,
'img'
:
'<img.*?src="(.*?)".*?>(.*?)</img>'
,
'img_single'
:
'<img.*?src="(.*?)".*?/>'
,
'img_single_no_close'
:
'<img.*?src="(.*?)".*?>'
,
'a'
:
'<a.*?href="(.*?)".*?>(.*?)</a>'
,
'em'
:
'<em.*?>(.*?)</em>'
,
'strong'
:
'<strong.*?>(.*?)</strong>'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment