forgejo/docs/content/doc
Lunny Xiao b01dce2a6e
Allow render HTML with css/js external links (#19017)
* Allow render HTML with css/js external links

* Fix bug because of filename escape chars

* Fix lint

* Update docs about new configuration item

* Fix bug of render HTML in sub directory

* Add CSP head for displaying iframe in rendering file

* Fix test

* Apply suggestions from code review

Co-authored-by: delvh <dev.lh@web.de>

* Some improvements

* some improvement

* revert change in SanitizerDisabled of external renderer

* Add sandbox for iframe and support allow-scripts and allow-same-origin

* refactor

* fix

* fix lint

* fine tune

* use single option RENDER_CONTENT_MODE, use sandbox=allow-scripts

* fine tune CSP

* Apply suggestions from code review

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>

Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-06-16 11:33:23 +08:00
..
advanced Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
developers Update frontend guideline (#19901) 2022-06-06 10:44:20 -04:00
features
help docs: update the ROOT documentation and error messages (#19832) 2022-05-31 00:47:55 +02:00
installation Update document to use FHS /usr/local/bin/gitea instead of /app/... for Docker (#19794) 2022-05-24 14:57:15 +08:00
packages Add version hint in the docs when packages are available (#19838) 2022-05-29 14:10:21 -04:00
translation
upgrade
usage docs: recommendations to ensure backup consistency and reliability (#19845) 2022-05-31 14:42:32 -04:00
advanced.en-us.md
advanced.fr-fr.md
advanced.zh-cn.md
advanced.zh-tw.md
developers.en-us.md
developers.zh-cn.md
developers.zh-tw.md
features.en-us.md
features.zh-cn.md
features.zh-tw.md
help.en-us.md
help.fr-fr.md
help.zh-cn.md
help.zh-tw.md
installation.en-us.md
installation.fr-fr.md
installation.zh-cn.md
installation.zh-tw.md
packages.en-us.md
translation.de-de.md
translation.en-us.md
translation.zh-tw.md
upgrade.en-us.md
upgrade.fr-fr.md
upgrade.zh-cn.md
upgrade.zh-tw.md
usage.en-us.md
usage.zh-cn.md
usage.zh-tw.md