Remove auto detection of languages with highlightjs

Fixes #7476

closes #7591
This commit is contained in:
Steffen van Bergerem 2017-08-27 20:59:02 +02:00 committed by Benjamin Neff
parent 2bb7d4e067
commit 98cccda6ea
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 1 additions and 4 deletions

View file

@ -7,6 +7,7 @@
* Remove tiff support from photos [#7576](https://github.com/diaspora/diaspora/pull/7576)
* Remove reference from reshares when original post is deleted [#7578](https://github.com/diaspora/diaspora/pull/7578)
* Merge migrations from before 0.6.0.0 to CreateSchema [#7580](https://github.com/diaspora/diaspora/pull/7580)
* Remove auto detection of languages with highlightjs [#7591](https://github.com/diaspora/diaspora/pull/7591)
## Bug fixes
* Fix displaying polls with long answers [#7579](https://github.com/diaspora/diaspora/pull/7579)

View file

@ -71,10 +71,6 @@
} catch (__) {}
}
try {
return hljs.highlightAuto(str).value;
} catch (__) {}
return "";
}
});