Skip to content

RedCloth trick that can be used on textilize_without_paragraph #1

Description

@MingjiaNi

I am not sure if this works on this particular version of RedCloth but we can do:

def textilize_without_paragraph(text, *options)
  textilize(" #{text}", *options)
end

Might have better performance.

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