larstvei / ox-gfm

Github Flavored Markdown Back-End for Org Export Engine
230 stars 44 forks source link

When preserve-breaks is set on, skip trimming newline in paragraph #9

Closed tkyobc closed 8 years ago

tkyobc commented 8 years ago

In the current version, the following option doesn't work well.

#+OPTIONS: \n:t

I've added the sentence that check whether the options is set on.
If the option is valid, trimming newline in paragraph will be skipped, otherwise the operation proceeds in the same manner as before.

larstvei commented 8 years ago

Tested it, and it looks good. Thanks!