Permalink
Browse files

Missing line for inline img

  • Loading branch information...
root
root committed Oct 11, 2018
1 parent 1f1c408 commit 16dd116193a2bb707628919e96fb83f5b13f006c
Showing with 1 addition and 1 deletion.
  1. +1 −1 lodel/scripts/teiparser.php
@@ -1645,7 +1645,7 @@ private function _parseFigure($attrs)
if (!empty($attrs['rend']) && ($attrs['rend'] === 'inline')) {
$rend = ' class="'.$attrs['rend'].'"';
}
$text .= '<img src="'.$attrs['url'].'" alt="Image '.end($nb).'" id="'.$id.'"/>';
$text .= '<img src="'.$attrs['url'].'"'.$rend.' alt="Image '.end($nb).'" id="'.$id.'"/>';
}
elseif(parent::END_ELEMENT === $this->nodeType && 'figure' === $this->localName)
break;

0 comments on commit 16dd116

Please sign in to comment.