Skip to content

Commit

Permalink
Add UTF-8 spaces to converter
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Turcza committed Jun 23, 2016
1 parent c5f4380 commit 3f97e77
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions library/PhpLatex/latex_utf8.php
Expand Up @@ -1474,4 +1474,27 @@

'Ƕ' => 'Hv',
'ƕ' => 'hv',

// spaces
' ' => '--', // OGHAM SPACE MARK
' ' => ' ', // EN SPACE
' ' => ' ', // EM SPACE
' ' => ' ', // THREE-PER-EM SPACE
' ' => ' ', // FOUR-PER-EM SPACE
' ' => ' ', // SIX-PER-EM SPACE
' ' => ' ', // FIGURE SPACE
' ' => ' ', // PUNCTUATION SPACE
' ' => ' ', // THIN SPACE
' ' => ' ', // IDEOGRAPHIC SPACE
' ' => ' ', // NO-BREAK SPACE
' ' => ' ', // HAIR SPACE
"\xE2\x80\x8B" => '', // ZERO WIDTH SPACE
' ' => ' ', // NARROW NO-BREAK SPACE
"\xE2\x80\xAF" => ' ', // NARROW NO-BREAK SPACE
' ' => ' ', // MEDIUM MATHEMATICAL SPACE
"\xE2\x81\x9F" => ' ', // MEDIUM MATHEMATICAL SPACE
"\xE1\xA0\x8E" => '', // MONGOLIAN VOWEL SEPARATOR
"\xE2\x80\x80" => ' ', // EN QUAD
"\xE2\x80\x81" => ' ', // EM QUAD
"\xEF\xBB\xBF" => '', // ZERO WIDTH NO-BREAK SPACE (BOM)
);

0 comments on commit 3f97e77

Please sign in to comment.