Permalink
Browse files

Recognize style with class=inline

  • Loading branch information...
lnprieto committed Jan 17, 2019
1 parent 9ba97c2 commit 7a023253c338c857cef4f6ff16645fcdeb2add2c
Showing with 3 additions and 3 deletions.
  1. +3 −3 lodel/src/lodel/edition/checkimport.php
@@ -97,7 +97,7 @@
$reader->moveToElement();
}
if(isset($attrs['class']) && $attrs['class'] !== 'footnotecall' && $attrs['class'] !== 'endnotecall' && $attrs['class'] !== 'FootnoteSymbol')
if(isset($attrs['class']) && $attrs['class'] !== 'footnotecall' && $attrs['class'] !== 'endnotecall' && $attrs['class'] !== 'FootnoteSymbol' && $attrs['class'] !== 'inline')
{
if(!$parser->getStyle($attrs['class']))
{
@@ -214,7 +214,7 @@
$reader->moveToElement();
}
if(isset($attrs['class']) && $attrs['class'] !== 'footnotecall' && $attrs['class'] !== 'endnotecall' && $attrs['class'] !== 'FootnoteSymbol' && $attrs['class'] !== 'EndnoteSymbol')
if(isset($attrs['class']) && $attrs['class'] !== 'footnotecall' && $attrs['class'] !== 'endnotecall' && $attrs['class'] !== 'FootnoteSymbol' && $attrs['class'] !== 'EndnoteSymbol' && $attrs['class'] !== 'inline')
{
if(!$parser->getStyle($attrs['class']))
{
@@ -306,4 +306,4 @@
{
echo $e->getContent();
exit();
}
}

0 comments on commit 7a02325

Please sign in to comment.