Manuel Rüger
807d057f7b
stdlib: remove duplicate err check in New() and add XML escaping to user-controlled template values
...
Remove the dead second 'if err != nil' block after the already-checked
lib.Templates assignment.
Add html.EscapeString as 'xmlesc' template function and apply it to
user-controlled string parameters in ac:code, ac:status, and ac:box
templates. Values like .Title, .Color, .Language, and .Theme can contain
XML special characters (<, >, &, ") when supplied by users, which would
break Confluence storage format XML structure.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-16 19:18:29 +01:00
Johan Fagerberg
cbc7400f92
feat: align image rendering with Confluence default
2026-03-11 12:49:22 +01:00
Johan Fagerberg
4d887bde74
feat: add support for image dimensions
2026-03-11 12:49:22 +01:00
Johan Fagerberg
c32cd79dc8
feat: add support for '--image-align'
2026-03-11 12:49:22 +01:00
Manuel Rüger
e294a7317e
Move mention macro into a goldmark-parser/renderer
2026-02-08 00:59:43 +01:00
hypengw
5bb400cf51
add view-file template
2026-01-15 12:17:05 +01:00
MatyiFKBT
f08991137e
refactor: check for Server var in template
2025-09-15 15:39:12 +02:00
MatyiFKBT
bb32afdf09
feature: add Server param to Jira ticket template
2025-09-15 15:39:12 +02:00
Manuel Rüger
5e2b7b64e8
Drop cloudscript support for mermaid
2025-08-13 14:04:18 +02:00
Shawn Falkner-Horine
fbfd36a16c
PageTree macro: Fix Title parameter usage. ( fixes #550 )
continuous-integration / ci-go-lint (push) Failing after 9m30s
continuous-integration / ci-markdown-lint (push) Successful in 8s
continuous-integration / ci-unit-tests (push) Failing after 7m16s
continuous-integration / ci-build (push) Failing after 7m18s
continuous-integration / ci-docker-build (push) Failing after 1m35s
2025-01-14 22:53:56 +01:00
Yuriy Myronov
060a4ee100
Fixed attachment name handling in ac:multimedia macro
2024-11-07 18:27:18 +01:00
Yurii Myronov
3d96781f47
Support named excerpts
...
- Resolves feature request #316
2024-11-05 12:04:11 +01:00
Manuel Rüger
dc8842106b
*: Reorganize code
2024-09-29 00:13:04 +02:00