Feed on
Posts

Test for code view in Postings

Markdwon Tests: Code snippets should be shown character by character

Example: Unbreakable Space

Some lines with various code view tests

Example: Unbreakable Space

Here a line with second character group in Markdown Code Syntax
aaaaaaaa bbbbbbbbbbbb ccccccccccc

Here a line with second character group in Markdown Code Syntax
aaaaaaaa   ccccccccccc

And Multilinecode

       

All works fine

Now the same in BBC Code

Code due to this manual "Creating code"

Example:

<!DOCTYPE html>
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo “Hello World!”
?>
</body>
</html> 

There are no mistakes:

Now an own example: Unbreakable Space between Characters

a&nbsp;b&nbsp;c&nbsp;

That's wrong
Should be shown as string "a&​nbsp;b&​nbsp;c"

Also affects other encodings?

¡

&iexcl;
should have been shown as "&​iexcl;"
Encoding for other examples see here
¢ &cent;
&cent;

¥ &shy;
&shy;

® &reg;
&reg;

Δ &Delta;
&Delta;

All wrong
Instead of code the encoded characters are shown
Only works with Markdown, but not with BBC