Closed remontees closed 12 years ago
So something like this? [abbr="National Aeronautics and Space Administration"]NASA[/abbr]
Yes !!! It will be so great !
Added in 4.0.2!
This not works : [abbr="SATAaaa"]SATA[/abbr] It can't parse SATAaaa of title attribute. It's the balise's objective...
I just ran a test case with out exact code and it was correct.
All the tests pass also: https://github.com/milesj/php-decoda/blob/master/tests/filters/DefaultFilterTest.php#L76
It isn't. I am sure that It dosen't works with me. I have just text without title attribute. Check your code, or your test...
Are you using the latest version?
You can run the PHP Unit tests yourself and look.
Here's my configuration :
fm_bbcode:
filter_sets:
bbcode_reportages:
locale: ru
xhtml: true
filters: [ default, block, image, list, quote, text, url ]
It works for bold, and many BBCodes but it fails for abbr. It can't parse any [abbr="Tada"]akjoe[/abbr]. But I use the last version of helios-ag/fm-bbcode-bundle.
You are using another 3rd parties code, I would report it to that project, not me.
But for filters' categories, is it good ?
Yes, assuming that project is using the correct Decoda version.
Where's the problem ?
I've remove xhtml true, and then, it parse the alternative text without and the link ! Same case for abbr ! But other BBcodes works.
But this is parsed : [url]http://remontees.free.fr[/url]
Take it up with helios-ag. All my test cases pass. Feel free to write your own test cases and prove me wrong.
Hello,
It could be good to add the BBCode [abbr] for acronyms to the library.
remontees