We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b52607d commit 2edf47eCopy full SHA for 2edf47e
src/core/render/index.js
@@ -176,9 +176,10 @@ export function renderMixin(proto) {
176
dom.toggleClass(el, 'add', 'show')
177
178
let html = this.coverIsHTML ? text : this.compiler.cover(text)
179
+
180
const m = html
181
.trim()
- .match('<p><img.*?data-origin="(.*?)"[^a]+alt="(.*?)">([^<]*?)</p>$')
182
+ .match('<img.*?data-origin="(.*?)"[^a]+alt="(.*?)">([^<]*?)$')
183
184
if (m) {
185
if (m[2] === 'color') {
0 commit comments