Skip to content

emojis in titles not working correctly #1009

@theoephraim

Description

@theoephraim

Bug Report

Processing the emojis in titles isn't working correctly. Sometimes just turning it into a single ":" character. Seems to work correctly if no leading space before the emoji code.

Steps to reproduce

Insert this content in a page

#### :arrow_forward:  :arrow_forward:
#### :arrow_forward::arrow_forward:
####  :arrow_forward: :arrow_forward:
####  :arrow_forward::arrow_forward:
####  :arrow_forward: :arrow_forward:

What is current behaviour

image

What is the expected behaviour

All emojis should appear

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: mac

  • Node.js version: 11.15

  • npm/yarn version: 6.7

  • Browser version: chrome latest

  • Docsify version: cli is 4.4, using latest from cdn

  • Docsify plugins: all disabled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions