add some tags if text is written in between "[ ]"

Created on 27 September 2013, about 11 years ago
Updated 22 May 2024, 6 months ago

I need a filter that replaces text written in between [ ] as follows:
sample text written in between brackets (or some other special character:
[foo text]

desired replacement (brackets are removed and is placed twice) as written below:
<a href="#demoModal" data-toggle="modal">foo text</a> <span id="demoModal" class="modal hide fade" tabindex="-1" role="dialog">foo text</span>

💬 Support request
Status

Closed: works as designed

Version

1.0

Component

Documentation

Created by

🇵🇷Puerto Rico joebest

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024