nextcloud / nextcloud/cookbook

HTML Character Entities Do Not Display Correctly

Open
#466 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
HTML
Stars
641
Forks
113
Avg merge
21h 31m
Merged PRs (30d)
26

Description

Description
HTML character entities are not properly displayed within the recipe.

Reproduction
Steps to reproduce the behavior:

  1. Import the following recipe: https://www.culinaryhill.com/mojito-mocktail-recipe/
  2. Look at the description.
  3. Notice it doesn't convert the HTML character entity #039; to an apostrophe.

Expected behavior
HTML character entities are replace with the correct character.

Screenshots
Screen Shot 2020-12-31 at 12 23 27 PM

Browser
FF 84

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

No source file or test is named. Start by importing the linked Culinary Hill recipe and inspect its description in the recipe view, then trace where the HTML character entity is displayed. Done means the #039; entity renders as an apostrophe without breaking other recipe text.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.