Skip to content

HTML Tags Are Not Being Rendered #737

@guneskaan

Description

@guneskaan

Current behavior

Boost Note currently seems to ignore all HTML tags.
The feature to allow users render HTML tags have been introduced in #561.

Later it has stopped working due to the changes in the mdast-util-to-hast dependency (syntax-tree/mdast-util-to-hast#38), and BoostNote upgrading remark dependencies without reflecting this change (https://github.com/BoostIO/BoostNote.next/blob/d4b51d6e286441058eedea4ea9db546d8e3b3cc5/src/components/atoms/MarkdownPreviewer.tsx)

Current behaviour in 0.11.6 Mac Electron:
Screen Shot 2020-12-23 at 3 59 43 PM

Expected behavior

HTML Tags should be rendered as intended in #561. Screenshot below is from my dev build:
Screen Shot 2020-12-23 at 4 01 50 PM

Steps to reproduce

  1. Include any html tag in note editor which can be used in GitHub (All except https://github.github.com/gfm/#disallowed-raw-html-extension-)
  2. Observe that this html tag is not rendered

Environment

Desktop/Web

  • Boost Note.next version: 0.11.6
  • OS version and name: Mac Electron

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