antonmihaylov / OpenXmlTemplates

Word .docx templating system that is designer (no scripting tags) and server-friendly (no word installation required)
GNU Lesser General Public License v3.0
89 stars 25 forks source link

Fixes control replacer newline definitions #18

Closed ngunna closed 3 years ago

ngunna commented 3 years ago

Fixes issue with newlines in templates ("\n") not being properly identified.

The escaping of newline characters in ControlReplacer ("\\n", etc.) isn't needed because all newline characters ("\n") are already valid escape sequences.