Skip to content

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

@UlyssesZh

Description

@UlyssesZh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions