Skip to content

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

Description

@mikesmithgh

If you have an emoji at the end of a line, for example 馃帀 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions