#11675 closed defect (bug) (duplicate)
Adjacent Short Codes Don't Work
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | major | Version: | 2.8 |
Component: | Shortcodes | Keywords: | |
Focuses: | Cc: |
Description
Any time two short codes are placed next to each other, the second short code appears as plain text in the content. This can be reproduced with something as simple as [gallery][gallery]
or with a more complex pattern such as two captioned images with no whitespace.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Not a regression, so moving to 3.0. Needs a patch and probably some unit tests.
The shortcode regex relies on surrounding characters, hence the issue. See also #10326, when it was improved to not strip those characters.