I just converted a phpBB board to Drupal (using the phpbb2drupal module) and noticed that all [size] tags generate huge letters.
Reason is that phpBB seems to be calculating percentages. Its default sizes 'tiny' to 'huge' run from sizes 50 to 200.
It would keep the bbcode module 'more or less compatible' to support this... Currently, size values are cut off at 48 (making them all 48px). We could make anything above 48 into a percentage instead of a 'px' value...
(or would this need to be made into a setting?)
Tested on 6.x-1.2, but a glance at the 7.x-dev source suggests that the patch applies there too...
Comments
Comment #1
roderik.
Comment #2
StudioARE commentedI like the idea. Still have some legacy posts on my forum with enormous text, but now I don't really have the size option for my users..
In short: pointless comment, subbing. :)
-Are
Comment #3
phreadom commentedSame issue here. Applied to 7.x and it works like a charm. :) Thanks!
Comment #4
naudefj commentedPatch applied. Thank you so much!