Skip to content

Creative Commons HTML breaks editor #821

@ThomWright

Description

@ThomWright

Symptoms

On affected page:

  • no preview
  • when trying to change file from the 'Files Tree' the hash in the URL changes but the UI doesn't respond

Cause

As far as I can tell, the following HTML, generated from Creative Commons, seems to be the problem. All other files in my repo seem to be fine.

<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">
  <img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" />
</a><br />
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Electronic Circuit Simulation</span> by 
<a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/circuitsim/electronic-circuit-simulation" property="cc:attributionName" rel="cc:attributionURL">Thom Wright</a> is licensed under a 
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions