This commit is contained in:
Petr Korolev 2015-03-03 17:33:51 +02:00
parent 4a53f4a126
commit 7f68f3db13

View File

@ -26,7 +26,7 @@ module GitHubChangelogGenerator
string.gsub! '\\', '\\\\' string.gsub! '\\', '\\\\'
encpas_chars = %w(> * _ \( \) [ ]) encpas_chars = %w(> * _ \( \) [ ] #)
encpas_chars.each { |char| encpas_chars.each { |char|
string.gsub! char, "\\#{char}" string.gsub! char, "\\#{char}"
} }