Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Reformat the [img] tag?
#11
Not Solved
wonderful thank you, is the style in the img tag more correct syntax? or preference?

and lastly if i may, how do i regexp for a caption ?
Reply
#12
Not Solved
Regexp:
\[img caption=("?(.*?)"?)\](.*?)\[/img\]

Replacement:
<img src="$3" />
<div style="here how you want to style it">$2</div>
[MyBB 1.8 mods] - Offer me a coffee
Do not ask me help through PM
Reply
#13
Not Solved
ONE SMALL problem, on the quick edit the new IMG is returned BUT on the FULL edit ONLY the default IMG tag is returned,

which means you need to reformat again with the full editor

How many variables can I have? doesnt like 4?
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)