Kodi Community Forum
Solved [code] and [quote] and inconsistent behavior with [color] - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Website and Forum Issues or Suggestions (https://forum.kodi.tv/forumdisplay.php?fid=35)
--- Thread: Solved [code] and [quote] and inconsistent behavior with [color] (/showthread.php?tid=174866)



[code] and [quote] and inconsistent behavior with [color] - h.udo - 2013-10-03

Hi

Is this a feature? Behavior is inconsistent.

Used code:
PHP Code:
[code]dd if=/dev/zero of=/dev/[color=#FF0000]sdX[/color] bs=1M[/code] 

Result:
Code:
dd if=/dev/zero of=/dev/[color=#FF0000]sdX[/color] bs=1M


Used code:
PHP Code:
[quote]dd if=/dev/zero of=/dev/[color=#FF0000]sdX[/color] bs=1M[/quote] 

Result:
Quote:dd if=/dev/zero of=/dev/sdX bs=1M



RE: [code] and [quote] and inconsistent behavior with [color] - artrafael - 2013-10-03

That's intentional. Otherwise, how are you going to use the CODE tag to set-off and show your actual raw coding if it interprets some things and leaves other things as-is?


RE: [code] and [quote] and inconsistent behavior with [color] - da-anda - 2013-10-04

yes, there is no BBcode conversion/handling inside code blocks


RE: [code] and [quote] and inconsistent behavior with [color] - h.udo - 2013-10-04

Ok, makes sense. Sorry to bother you about this.

BR