You can extend the PHP code. All PHP is allowed.
<pre>[code]<?php echo "
" . getBareImageDesc(); ?>[/code]</pre>
EDIT: OK, it's a conflict with HTML code about the ```<``` and ```>```.
Is that also possible?
<pre>[code]<?php echo '' . getBareImageDesc() . ''; ?>[/code]</pre>
Then you can style it.
EDIT: OK, it's a conflict with HTML code about the ```<``` and ```>```.
I prefer this for the descriptions.
<pre>[code]<?php echo nl2br(getImageDesc()); ?>[/code]</pre>
This will take over the descriptions 1:1 from the editor. There are no ```
``` necessary. Line breaks are automatically converted to ```
```. This makes writing the descriptions easier. In addition, HTML code is still possible, also ```
```.
But, unfortunately, every HTML tag with ```<``` and ```>``` causes problems with the method of grabbing the text from the HTML img tag title. A better method would be the description in a div box with ```display:none``` to write and extract from it with JavaScript.