You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/docs/content/doc/advanced
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>
2 years ago
..
adding-legal-pages.en-us.md Fix various typos of software names (#18083) 3 years ago
clone-filter.en-us.md Enable partial clone by default (#18195) 3 years ago
cmd-embedded.en-us.md Fix various typos of software names (#18083) 3 years ago
config-cheat-sheet.en-us.md Allow render HTML with css/js external links (#19017) 2 years ago
config-cheat-sheet.zh-cn.md Allow render HTML with css/js external links (#19017) 2 years ago
customizing-gitea.en-us.md Add the possibility to allow the user to have a favicon which differs from the main logo (#18542) 2 years ago
customizing-gitea.zh-cn.md Update documentation to reflect #15219 (#16442) 3 years ago
environment-variables.en-us.md Update docs and comments to remove macaron (#14491) 3 years ago
environment-variables.zh-cn.md Update docs and comments to remove macaron (#14491) 3 years ago
external-renderers.en-us.md Add example to render html files (#18736) 2 years ago
hacking-on-gitea.zh-cn.md ZH-CN translation of Advanced part (#5090) 6 years ago
logging-documentation.en-us.md fix: some typos (#19956) 2 years ago
mail-templates-us.md Doc: Mail-Tempales: Fix AppUrl function name (#16939) 3 years ago
make.fr-fr.md docs: fix various typos and translate to french (#16477) 3 years ago
make.zh-cn.md Reformat docs (#13897) 4 years ago
protected-tags.en-us.md Fix various typos of software names (#18083) 3 years ago
repo-indexer.en-us.md Reformat docs (#13897) 4 years ago
repo-mirror.en-us.md Add push to remote mirror repository (#15157) 3 years ago
search-engines-indexation.en-us.md Reformat docs (#13897) 4 years ago
signing.en-us.md Fix various typos of software names (#18083) 3 years ago
third-party-tools.zh-cn.md Reformat docs (#13897) 4 years ago