Skip to content

Commit

Permalink
Closes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainhalle committed Dec 20, 2018
1 parent ab250ff commit 6603796
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ protected AnnotatedString removeMarkup(AnnotatedString as_out, int line_pos)
as_out = as_out.replaceAll("\\\\oe\\{\\}", "œ");
as_out = as_out.replaceAll("\\\\ae\\{\\}", "æ");
// Common environments
as_out = as_out.replaceAll("\\\\(begin|end)\\{(itemize|enumerate|inparaenum|document|thm|abstract|eqnarray|compactitem|query|center|minipage)\\}", "");
as_out = as_out.replaceAll("\\\\(begin|end)\\{(itemize|enumerate|inparaenum|document|thm|abstract|eqnarray|compactitem|query|center|minipage|quote)\\}", "");
// List items
as_out = as_out.replaceAll("\\\\item\\s*", "");
// Images
Expand Down

0 comments on commit 6603796

Please sign in to comment.