MxIllusionment / rpg-manager

A generic manager for RPG characters and their inventories
1 stars 1 forks source link

URI Encoding/Decoding #110

Closed MxIllusionment closed 3 years ago

MxIllusionment commented 3 years ago

All fields for items and characters should be URI encoded with encodeURI() before being saved in the database. They should then be decoded with decodeURI() before being displayed. This will allow special characters and text formatting to be maintained.

MxIllusionment commented 3 years ago

We will also need to use white-space:pre-wrap in CSS for the Data/Description fields so that new lines and extra spacing is preserved.