Skip to content

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Sep 28, 2017

The rule ( !"`" Nonspacechar )+ for format variable becomes Array but #intern is called for format variable and it means format variable is expected as String, so this commit adds checking instance_of?(String).

This fixes #417, https://github.com/izwick-schachter/atd/issues/18 and the same bug of YARD because YARD uses RDoc internal Markdown engine.

The rule ( !"`" Nonspacechar )+ for "format" variable becomes Array
but #intern is called for "format" variable and it means "format"
variable is expected as String, so this commit adds checking
instance_of?(String).
@hsbt hsbt merged commit 1ae47bb into ruby:master Oct 10, 2017
@aycabta aycabta deleted the fix-code-fence branch October 10, 2017 02:11
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.

Rdoc Error on my README.md
2 participants