Skip to content

WordPress code block import #453

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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