2015-03-01, 04:01 PM
2015-03-01, 05:21 PM
Edit inc/class_parser.php: https://github.com/mybb/mybb/blob/featur...r.php#L478
2015-03-01, 06:07 PM
cool so how do i add the x"caption" preg-reg?
is that right?
EDIT: Hmm interesting, it's got a float in the "align=" option?
yeah how do i add in the
so align would be the fourth variable in the current setup?
"#\[img=([0-9]{1,3})x([0-9]{1,3}) caption=("("?(.*?)"?)") align=([a-z]+)\](\r\n?|\n?)(https?://([^<>\"']+?))\[/img\]#is"
is that right?
EDIT: Hmm interesting, it's got a float in the "align=" option?
yeah how do i add in the
caption=""
so align would be the fourth variable in the current setup?