aboutsummaryrefslogtreecommitdiffstats
path: root/book.json
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-20 17:58:08 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-09-20 17:58:08 +0200
commit4296527c4e54ff638e92e368c5309a327892beee (patch)
tree8c5e764e3cc508cf6bd92596e3b90e53cdcb0e1a /book.json
parent7979910e345d199460ff189fdd2dc91c32d6ed35 (diff)
Change image styling to be compatible with kramdown.
Diffstat (limited to 'book.json')
-rw-r--r--book.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/book.json b/book.json
index fba82f6..1f6efb9 100644
--- a/book.json
+++ b/book.json
@@ -83,9 +83,9 @@
}
},
{
- "pattern": "<img ([^>]*)> {0,}{style {1,}([^}]*)}",
+ "pattern": "<img ([^>]*)> {0,}{:: {0,}style=([^}]*)}",
"flags": "g",
- "substitute": "<img $1 style=\"$2\">",
+ "substitute": "<img $1 style=$2>",
"decode": true
}
]