Skip to content

default behavoir should not be to emojify all, including non-emojis #1721

Closed
@ChoKaPeek

Description

@ChoKaPeek

Bug Report

Any couple of colons gets emojified.

Steps to reproduce

  • have a md containing the following:

Namespace::SubNameSpace::Class hh:mm:ss :one::two:

What is current behaviour

It will create a string like this without the emoji plugin:

Namespace:<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/SubNameSpace.png alt="SubNameSpace" />:Class hh<img class="emoji" src="https://github.githubassets.com/images/icons/emoji/mm.png alt="mm" />ss onetwo

What is the expected behaviour

with the emoji plugin:

Namespace::SubNameSpace::Class hh:mm:ss onetwo

without:

Namespace::SubNameSpace::Class hh:mm:ss :one::two:

Other relevant information

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

  • Your OS:

  • Node.js version:

  • npm/yarn version:

  • Browser version:

  • Docsify version: 4.12.2

  • Docsify plugins: none

Please create a reproducible sandbox

Mention the docsify version in which this bug was not present (if any)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions