Skip to content

Commit

Permalink
Add <em> as tag to be parsed to \textit{}
Browse files Browse the repository at this point in the history
  • Loading branch information
bobvandevijver committed Jul 2, 2023
1 parent b011649 commit 176c076
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Helper/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ public static function parseHtml($text) {
self::updateNode($DOM, 'b', '\textbf{');
self::updateNode($DOM, 'strong', '\textbf{');
self::updateNode($DOM, 'i', '\textit{');
self::updateNode($DOM, 'em', '\textit{');
self::updateNode($DOM, 'u', '\uline{');
self::updateNode($DOM, 'sup', '\textsuperscript{');
self::updateNode($DOM, 'sub', '\textsubscript{');
Expand Down

0 comments on commit 176c076

Please sign in to comment.