diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-05-29 18:11:26 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | 4bc9e4921afac5ddf9e84c2f1873639179be86ef (patch) | |
tree | c68bf4535c6e6b8264c85c3b7a7b6f2fffb0d320 /src/sdp/output/rgx.d | |
parent | image paths (diff) |
0.26.2 image(s) without dimensions
Diffstat (limited to 'src/sdp/output/rgx.d')
-rw-r--r-- | src/sdp/output/rgx.d | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdp/output/rgx.d b/src/sdp/output/rgx.d index 60f15cf..a62791c 100644 --- a/src/sdp/output/rgx.d +++ b/src/sdp/output/rgx.d @@ -62,6 +62,7 @@ static template SiSUoutputRgxInit() { static inline_text_and_note_al_ = ctRegex!(`(.+?(?:【[*+]*\s+.+?】|$))`, "mg"); /+ inline markup footnotes endnotes +/ static inline_image = ctRegex!(`(?P<pre>┥)☼(?P<imginf>(?P<img>\S+?\.(?:jpg|gif|png)),w(?P<width>\d+)h(?P<height>\d+))\s*(?P<post>.*?┝┤.+?├)`, "mg"); + static inline_image_without_dimensions = ctRegex!(`(?P<pre>┥)☼(?P<imginf>(?P<img>\S+?\.(?:jpg|gif|png)),w(?P<width>0)h(?P<height>0))\s*(?P<post>.*?┝┤.+?├)`, "mg"); static inline_link = ctRegex!(`┥(?P<text>.+?)┝┤(?P<link>.+?)├`, "mg"); static inline_link_clean = ctRegex!(`┤(?:.+?)├|[┥┝]`, "mg"); static inline_a_url = ctRegex!(`(┤)(\S+?)(├)`, "mg"); |