vim-pandoc / vim-pandoc-legacy

[UNSUPPORTED/use vim-pandoc/vim-pandoc] vim bundle for pandoc users
143 stars 23 forks source link

soft wrapping doesn't handle *emphasis* correctly #2

Closed dsanson closed 13 years ago

dsanson commented 13 years ago

The line break separates the leading asterisk from the rest of the word. To see this, paste in this text:

*Lorem* *ipsum* *dolor* *sit* *amet,* *consectetuer* *adipiscing* *elit.* *Vivamus* *vitae* *risus* *vitae* *lorem* *iaculis* *placerat.* *Aliquam* *sit* *amet* *felis.* *Etiam* *congue.* *Donec* *risus* *risus,* *pretium* *ac,* *tincidunt* *eu,* *tempor* *eu,* *quam.* *Morbi* *blandit* *mollis* *magna.* *Suspendisse* *eu* *tortor.* *Donec* *vitae* *felis* *nec* *ligula* *blandit* *rhoncus.* *Ut* *a* *pede* *ac* *neque* *mattis* *facilisis.* *Nulla* *nunc* *ipsum,* *sodales* *vitae,* *hendrerit* *non,* *imperdiet* *ac,* *ante.* *Morbi* *sit* *amet* *mi.* *Ut* *magna.* *Curabitur* *id* *est.* *Nulla* *velit.* *Sed* *consectetuer* *sodales* *justo.* *Aliquam* *dictum* *gravida* *libero.* *Sed* *eu* *turpis.* *Nunc* *id* *lorem.* *Aenean* *consequat* *tempor* *mi.* *Phasellus* *in* *neque.* *Nunc* *fermentum* *convallis* *ligula*.