Skip to content

com_groups: add option to allow HTML in group restrict message - #1929

Open
denphi wants to merge 1 commit into
hubzero:2.4-mainfrom
denphi:fix/groups-restrict-msg-html
Open

denphi wants to merge 1 commit into
hubzero:2.4-mainfrom
denphi:fix/groups-restrict-msg-html

Conversation

@denphi

@denphi denphi commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

The join-request page always escaped a group restrict_msg, so managers could not use any markup (links, emphasis, etc.) in the message shown to users requesting to join. Add a component config option, off by default, that lets HTML through unescaped on that page instead. Also switch the message wrapper from

to

so block-level HTML in the message nests validly.

https://nanohub.org/support/ticket/514277

The join-request page always escaped a group restrict_msg, so
managers could not use any markup (links, emphasis, etc.) in the
message shown to users requesting to join. Add a component config
option, off by default, that lets HTML through unescaped on that
page instead. Also switch the message wrapper from <p> to <div>
so block-level HTML in the message nests validly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@denphi
denphi requested a review from nkissebe as a code owner September 17, 2026 20:09
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