WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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