Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown: tagging a chapter unexpectedly #3748

Closed
masatake opened this issue Jun 24, 2023 · 2 comments · Fixed by #3750
Closed

Markdown: tagging a chapter unexpectedly #3748

masatake opened this issue Jun 24, 2023 · 2 comments · Fixed by #3750

Comments

@masatake
Copy link
Member

foo.md:

  #included
$ ~/var/ctags-github/ctags --quiet --options=NONE -o - /tmp/foo.md
#included	/tmp/foo.md	/^  #included$/;"	c
          This comment is nothing to do with this pull request.

#included at line 15 is tagged as chapter. This may be a bug of the original code.

Originally posted by @masatake in #3747 (comment)

@jiangyinzuo
Copy link
Contributor

I believe I can fix this bug. 😄

@masatake
Copy link
Member Author

Markdown test:

section started from spaces

masatake added a commit to masatake/ctags that referenced this issue Jun 24, 2023
Close universal-ctags#3748.

A test input is derrived from Yinzuo Jiang (@jiangyinzuo)'s
commit in universal-ctags#3747.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
masatake added a commit to masatake/ctags that referenced this issue Jun 24, 2023
Close universal-ctags#3748.

A test input is derrived from Yinzuo Jiang (@jiangyinzuo)'s
commit in universal-ctags#3747.

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
This issue was closed.
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 a pull request may close this issue.

2 participants