nextcloud / nextcloud/text

Parse HTML tags

Open
#2,170 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Is your feature request related to a problem? Please describe.
HTML tags are displayed as plain text and not rendered, as it should happen since it is a superset of Markdown. Example below

Screenshot 2022-02-08 at 6 47 21 PM

Describe the solution you'd like
HTML tags should be rendered normally, or at least tags should be stripped and only the text inside them should be displayed

Describe alternatives you've considered
There is none

Additional context
I do not know what I could add but I am available for clarifications

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the editor's Markdown and HTML parsing and rendering entry point, then inspect how existing markup is handled. Clarify whether the accepted behavior is to render tags or strip them, and add coverage that verifies the agreed output for the provided HTML example.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript, markdown
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.