panvimdoc icon indicating copy to clipboard operation
panvimdoc copied to clipboard

bug: emoji at end of line removes space on the next line

Open mikesmithgh opened this issue 9 months ago • 1 comments

If you have an emoji at the end of a line, for example :tada: and the demojify flag set, then the next line removes the first space it encounters.

Steps to reproduce

  1. Create README-test.md
hi 🎉

Missing> <space on this line
  1. Run
./panvimdoc.sh --project-name test-tada --input-file "README-test.md" --vim-version "NVIM v0.7+" --toc true --demojify true --dedup-subheadings false
  1. Open doc/test-tada.txt
*test-tada.txt*           For NVIM v0.7+          Last change: 2023 October 04

==============================================================================
Table of Contents                                *test-tada-table-of-contents*

hi

Missing><space on this line

Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>

vim:tw=78:ts=8:noet:ft=help:norl:

Actual

Missing><space on this line

Expected

Missing> <space on this line

mikesmithgh avatar Oct 04 '23 13:10 mikesmithgh