Skip to content

Conversation

@bashkirtsevich
Copy link
Contributor

@bashkirtsevich bashkirtsevich commented Nov 27, 2018

Update getAndRemoveConfig regular expression for prevent cases, when header has name like # foo::bar::baz.
We use docsify for perl, our regular case: ### Some::Module, and without fixed regex we have header like ### Some:.

Compatible with FireFox.

Please makes sure these boxes are checked before submitting your PR, thank you!

  • Make sure you are merging your commits to master branch.
  • Add some descriptions and refer relative issues for you PR.
  • DO NOT include files inside lib directory.

Update getAndRemoveConfig regular expression for prevent cases, when header has name like "foo::bar::baz".
Ignore `:foo` cases
@sylwekb
Copy link

sylwekb commented Nov 28, 2018

It is not clear what you have changed in the PR. AFAIU regexp now works only if there is some whitespace before : (colon)?. It fixes my issue then, thanks 👍

@QingWei-Li QingWei-Li merged commit 6ac7bac into docsifyjs:master Dec 5, 2018
@krohrsb
Copy link

krohrsb commented Dec 20, 2018

This will also fix my issue :) Waiting for it to get published. Thanks!

@sylwekb
Copy link

sylwekb commented Dec 21, 2018

@krohrsb You can you my dev build till this time https://uplycdn.com/docs/shEOcKLcylbm/docsify.min.js

QingWei-Li pushed a commit that referenced this pull request Feb 19, 2019
* Fix getAndRemoveConfig regex

Update getAndRemoveConfig regular expression for prevent cases, when header has name like "foo::bar::baz".

* Fix wrong regexp

* Fix regex

Ignore `:foo` cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants