Skip to content

WordPress code block import #453

@agowa

Description

@agowa

The importer lib/jekyll-import/importers/wordpress.rb does not recognize [code language="ps"] as special and therefore inserts html control codes likes <p> or <br /> into the source code. Also characters like & get converted into &amp;

A better handling would be to either output it with {% highlight PowerShell %} or at least into a <pre> instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions