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

Fixes auto-correct of content_tag with hyphenated tag name #327

Merged
merged 1 commit into from
Aug 14, 2020
Merged

Fixes auto-correct of content_tag with hyphenated tag name #327

merged 1 commit into from
Aug 14, 2020

Commits on Aug 14, 2020

  1. Fixes auto-correct of content_tag with hyphenated tag name

    Allow auto-correction of tag names with hyphen, e.g. `trix-editor` to
    `tag.trix_editor` instead of correcting to deprecated
    `tag('trix-editor')` syntax.
    
    The deprecated syntax does not support a content parameter, so the
    arguments in the corrected code were incorrect when correcting a
    method name with a hyphen and content, such as
    `content_tag('trix-editor' 'my content!')`
    jaredmoody committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    9c1a40e View commit details
    Browse the repository at this point in the history