Skip to content

Additional space at the end of tab title prevents correct rendering #59

@rafjaf

Description

@rafjaf

Versions

  • Docsify 4.13.1
  • Docsify-tabs 1.6.3

Steps to reproduce

  1. Install docsify-tabs as plugins as per the documentation
  2. Create a README.MD file with the following content:
<!-- tabs:start -->
# **Tab 1**
Test 1
# **Tab 2** 
Test 2
<!-- tabs:end -->

Note that the end of # **Tab 1** no space exists while at the end of **Tab 2** there is an additional space

Outcome

Only tab 1 is displayed, tab 2 is displayed inline without any tab

Expected resulted

The additional space at the end of tab 2 should be trimmed and both tabs should be displayed properly

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