Skip to content

README.md generated HTML is being rendered in quoted string on homepage for some reasonΒ #714

@bluejekyll

Description

@bluejekyll

I updated to oranda 0.6.5 to add to an existing Oranda site: https://hickory-dns.org. The README.md is part of a git submodule. The site config is pretty basic:

{
    "styles": {
      "theme": "hacker",
      "favicon": "static/favicon.ico",
          "logo": "static/logo.png"
    },
    "project": {
      "name": "Hickory DNS",
      "readme_path": "hickory-dns/README.md",
      "repository": "https://github.com/hickory-dns/hickory-dns",
      "license": "MIT OR Apache-2.0"
    }
  }

https://github.com/hickory-dns/hickory-dns.github.io/blob/main/oranda.json

After the update, this got produced in the body, when served locally, you can that the body of the README.md is escaped on inclusion in the primary home page document:

...
          </header>

    &lt;p&gt;&lt;a href=&quot;https:&#x2f;&#x2f;www.whatrustisit.com&quot; rel=&quot;noopener noreferrer&quot;&gt;&lt;img src=&quot;https:&#x2f;&#x2f;img.shields.io&#x2f;badge&#x2f;minimum%20rustc-1.70-green?logo=rust&quot; alt=&quot;minimum rustc: 1.70&quot;&gt;&lt;&#x2f;a&gt;
...

Is there something that I need to change?

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