HTML Code is showing in description text
In the saved description text of the SE "find", some part of a code is showing.: <br>
Probably a connection to the show more/ show less function?
Updated by Alexander Watzinger almost 3 years ago
- Tracker changed from Feature to Bug
- Subject changed from Code is showing in the saved description text to HTML Code is showing in description text
- Category set to UI
- Status changed from New to Assigned
- Assignee changed from Alexander Watzinger to Christoph Hoffmann
- Target version set to 5.0.0
- Found in version set to 4.1.0
Thank you for reporting - this looks indeed like an interesting bug. It is connected to the show more/less which should be rewritten (in master at /openatlas/static/js/functions.js line 94).
It can be reproduced with following text (it seems in this situation the text is split exactly in an "<br>" tag):
Necklace out of a variety of beads. 1 mosaic eye bead, type 1272 1 silver coloured hollow bead, with two segments 2 gold coloured hollow beads, with two segments 1 dark blue cylindrical bead, with five segments 1 dark blue cylindrical bead, with four segments 2 dark blue cylindrical beads, with two segments 2 silver coloured cylindrical beads, with two segments 1 fragmented silver coloured cylindrical beads, with two segments 1 fragmented silver coloured drawn multibead 1 fragmented silver coloured segmented bead, with two segments 1 gold coloured double pearl 17 dark blue disc beads 6 green disc beads 2 light blue disc beads 1 yellow disc bead 1 fragmented globular bead made from organic material 1 green disc bead 1 blue disc bead 1 fragmented gold coloured cylindrical bead, with an organic core 1 green disc bead 1 blue globular bead 1 blue, irregular shaped cylindrical bead 1 dark green elongated pearl with rectangular cross-section, cone shaped 1 gold coloured fragment of a cylindrical bead