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

[Bug] Cannot insert a link after a left curly bracket appears #1015

Closed
UlyssesZh opened this issue May 31, 2023 · 1 comment
Closed

[Bug] Cannot insert a link after a left curly bracket appears #1015

UlyssesZh opened this issue May 31, 2023 · 1 comment

Comments

@UlyssesZh
Copy link

Cannot insert a link after a left curly bracket appears.

To reproduce:

# test.rb
class TestClass
  # {test0}[https://github.com]
  # \{
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth0
  end
  # {test0}[https://github.com]
  # \}
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth1
  end
  # {test0}[https://github.com]
  # <tt>{</tt>
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth2
  end
  # {test0}[https://github.com]
  # <tt>}</tt>
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth3
  end
  # {test0}[https://github.com]
  # <tt>\{</tt>
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth4
  end
  # {test0}[https://github.com]
  # <tt>\}</tt>
  # {test1}[https://github.com]
  # {test2}[https://github.com]
  def meth5
  end
end
rdoc test.rb

Actual result:
image

Expected result:
image

@nobu
Copy link
Member

nobu commented Nov 14, 2023

nobu added a commit to nobu/rdoc that referenced this issue Nov 14, 2023
nobu added a commit to nobu/rdoc that referenced this issue Nov 14, 2023
TIDYLINK multi-word label should not include braces.
matzbot pushed a commit to ruby/ruby that referenced this issue Nov 14, 2023
(ruby/rdoc#1015)

TIDYLINK multi-word label should not include braces.

ruby/rdoc@41ad3191e9
@nobu nobu closed this as completed Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants