szaghi / MaTiSSe

Markdown To Impressive Scientific Slides
47 stars 11 forks source link

Include external md files exploit serious bug #16

Closed szaghi closed 9 years ago

szaghi commented 9 years ago

The include feature escape symbols when external files are read! Add repr() to the external file read in https://github.com/szaghi/MaTiSSe/blob/master/src/main/python/matisse/utils/source_editor.py#L372

The statement:

other_source = inc.read()

should become:

other_source = repr(inc.read())
szaghi commented 9 years ago

Done.