bwl21 / wortsammler

an environment to manage comprehensive audience specific documentation and requirements tracing (based on pandoc)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

include markdown copies BOM to output

bwl21 opened this issue · comments

if you include a markdown fragment, BOM is copied to the output. For example including af file like this

#headline

will have invisible characters in front of # and therefore does not recognize the headline.

possible fix in class.proolib.rb line 162:

 replacetext_raw=File.open($2,:encoding => 'bom|utf-8').read