Skip to content

Issue with end of p fields #1

Description

@lwinkler

Hi. Just noticed that your script to parse the markdown and add your own divs leaves the

in the html code.

Your code should probably be someting like:

   html.gsub!(/^<p>\[(.*?)\/\]<\/p>/m, '<div class="\1"></div>')

instead of

    html.gsub!(/^<p>\[(.*?)\/\]/m, '<div class="\1"></div>')

Thanks for this utility !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions