Remove auto detection of languages with highlightjs
Fixes #7476 closes #7591
This commit is contained in:
parent
2bb7d4e067
commit
98cccda6ea
2 changed files with 1 additions and 4 deletions
|
|
@ -7,6 +7,7 @@
|
||||||
* Remove tiff support from photos [#7576](https://github.com/diaspora/diaspora/pull/7576)
|
* 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)
|
* 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)
|
* 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
|
## Bug fixes
|
||||||
* Fix displaying polls with long answers [#7579](https://github.com/diaspora/diaspora/pull/7579)
|
* Fix displaying polls with long answers [#7579](https://github.com/diaspora/diaspora/pull/7579)
|
||||||
|
|
|
||||||
|
|
@ -71,10 +71,6 @@
|
||||||
} catch (__) {}
|
} catch (__) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
return hljs.highlightAuto(str).value;
|
|
||||||
} catch (__) {}
|
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue