Forums / Cotonti / Support / BBcode auto-closing

Twiebie
#36518 2012-12-12 17:48

Since auto-closing BBcodes in the forums is fixed in Siena 0.9.12.1 my BBcode for embedding YouTube videos doesn't work as well as before.
It's still parsing the video, but Cotonti is adding [/youtube] after each video because it wants to auto-close even though it's not necessary.

I've currently got the following pattern:

\[youtube=([^\s"';&\?\(\[]+)\]

Does anyone have a fix for this?

Nevermind, fixed. Had container enabled.

This post was edited by Twiebie (2012-12-12 19:47, 11 years ago)