Skip to content

Some UTF-8 chars seem to break articles #113

Closed
@martinklepsch

Description

@martinklepsch

This article contains some UTF-8 characters that don't seem to go well with our code.

Need to look into it some more but likely the issue is somewhere here:

(let [doc-slug-path (:doc-slug-path route-params)
doc-tree (doctree/add-slug-path (-> cache-contents :version :doc))
doc-p (->> doc-tree
doctree/flatten*
(filter #(= doc-slug-path (:slug-path (:attrs %))))
first)
doc-html (or (some-> doc-p :attrs :cljdoc/markdown rich-text/markdown-to-html)
(some-> doc-p :attrs :cljdoc/asciidoc rich-text/asciidoc-to-html))]

(presumably when trying to find the matching article inside the doctree)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueWant to help ship cljdoc? These are good issues to start with.GuidesIssues related to rendering guides or articles originating from Markdown or similar formats.Help Wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions