jappe999 / project-cards

Cards Against Humanity App
https://project-against-cards.herokuapp.com/
GNU General Public License v3.0
1 stars 0 forks source link

HTML decoding cards #26

Closed jappe999 closed 4 years ago

jappe999 commented 5 years ago

Expected Behavior

When I get cards that contain specials characters like © I want them to be rendered properly.

Current Behavior

When I get cards that contain specials characters like © they are rendered as encoded HTML entities. So © is rendered as \©.

Possible Solution

There are two possible solutions:

  1. Decode the entities in the browser.
  2. Put the decoded entities already in the database.

Steps to Reproduce (for bugs)

  1. Open a game.
  2. Refresh until there is a white card that contains an encoded character.

Context

I can't read the cards that contain those characters.

Your Environment

jappe999 commented 4 years ago

This issue is not resolved yet:

image