storensa.blogg.se

Droid font test
Droid font test










droid font test droid font test

I think that there are three distinct - though related - problems raised in this thread and the one to which nixer55 linked above: Noyle, you're probably way ahead of me on this, so please let me know how this compares to your own findings. OK, I've done a bunch of debugging and testing, and here are the results. I'm not sure that I'll have any success but I'll see if I can work out why SCEditor is adding extraneous tags and how to stop it - noyle seems to have given us a good clue - as well as how to ensure that it uses single quotes instead of double quotes in the list of fonts in those font tags that can't be eliminated.

droid font test

In this case, we should simply ensure that if the added font tag contains a list of fonts, any individual fonts in that list are not enclosed in double quotes but rather in single quotes. I say "to an extent" because sometimes when rich-format text is pasted into the editor, it is necessary that font, size, and/or color tags be added so that the formatting is preserved. I agree to an extent, Omar, but that only prevents the problem of extraneous tags occurring in posts from that point onwards - it doesn't have any effect on those posts which have already been posted, so there's still a use case for my plugin, and perhaps even for incorporating its code into the core. If anybody wants to test it, feel free to download the attached file to your inc/plugins directory and then activate the Fix Unrendered Font Tags plugin via the ACP.įixunrenderedfonttags.php (Size: 1.22 KB / Downloads: 112) I've put together a fix in the form of a very simple plugin which replaces those double-quotes with single-quotes prior to MyBB parsing font tags. The MyBB parser doesn't handle that situation (the double-quotes within - rather than simply enclosing - the comma-separated list are the problem), and thus it doesn't render the tag but instead displays it literally, making the post less readable. The more particular issue of this thread is that sometimes those added "font" tags include a comma-separated list of fonts, including at least one font enclosed in double-quote marks. It definitely seems related, although the issue you posted about seems broader: SCEditor adding extraneous tags, particularly "font" but also "color" and "size". (, 11:16 AM)nixer55 Wrote: Might be mistaken, but this looks like the issue I posted about back in April.












Droid font test