lib/polytexnic/preprocessors/polytex.rb in polytexnic-0.7.0 vs lib/polytexnic/preprocessors/polytex.rb in polytexnic-0.7.1
- old
+ new
@@ -87,9 +87,11 @@
|
\\[^\s]+\{.*?\} # command with one arg
|
\\\w+ # normal command
|
+ \\- # hyphenation
+ |
\\[ %&$#@] # space or special character
)
/x
markdown.gsub!(command_regex) do
content = $1
\ No newline at end of file