ucam-department-of-psychiatry / camcops

Cambridge Cognitive and Psychiatric Test Kit (CamCOPS)
Other
12 stars 8 forks source link

In certain tasks, content is HTML escaped twice #306

Open martinburchell opened 1 year ago

martinburchell commented 1 year ago

Since we turned on HTML escaping by default in Mako templates, there are some display problems with certain tasks. For example a diagnosis of "Dementia in Alzheimer's disease (G30.-+)" in the CPFT LPS Referral task results in "F00 – Dementia in Alzheimer's disease (G30.-+)". In this case the fix is to not call ws.webify(). There are probably other examples. Grepping for webify would be a good starting point.