Skip to content

DBT-417 allow HTML links in abstracts - #317

Merged
yagee-de merged 1 commit into
2025.06.xfrom
issues/DBT-417-allow-links-in-abstract-fields
Jul 13, 2026
Merged

DBT-417 allow HTML links in abstracts#317
yagee-de merged 1 commit into
2025.06.xfrom
issues/DBT-417-allow-links-in-abstract-fields

Conversation

@yagee-de

Copy link
Copy Markdown
Member

No description provided.

@yagee-de
yagee-de merged commit 00073a7 into 2025.06.x Jul 13, 2026
7 checks passed
@yagee-de
yagee-de deleted the issues/DBT-417-allow-links-in-abstract-fields branch July 13, 2026 12:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eebcfcc6e2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

# Allow simple html links in abstracts DBT-342
MIR.Editor.HTML.Elements=%MIR.Editor.HTML.Elements% a[href]
# Allow accessible links in abstracts (DBT-417)
MIR.Editor.HTML.Elements=%MIR.Editor.HTML.Elements%;a[href]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep server HTML allowlist space-separated

When an abstract contains a link, the server-side MIR allowlist still expects MIR.Editor.HTML.Elements entries to be separated by whitespace, while only the TinyMCE allowlist on the next line is comma-separated. Appending ;a[href] makes the previous element and a[href] one token, so the editor can accept the link client-side but the backend sanitizer will not whitelist <a href> when the abstract is saved; use the same space-separated format as before for this property.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant