docsify-tabs icon indicating copy to clipboard operation
docsify-tabs copied to clipboard

Additional space at the end of tab title prevents correct rendering

Open rafjaf opened this issue 1 year ago • 0 comments

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

rafjaf avatar Jul 06 '24 09:07 rafjaf