Post by CampKohler on Apr 16, 2013 16:51:20 GMT -8
The UBBC teletype markup ([tt]) is used to create a small monospaced typeface for examples of input text and the like, and is available on the toolbar. Example: "You should type in these words."
Sometimes you wish to kill HTML or UBBC markup in order to show the reader the what is being entered. Example: "Type [b]bold text[/b] in order to get bold text." Notice that the first bold text did not bold, but second one did. The difference between the two phrases is that the first one was killed by inserting a zero-width non-joiner character (named entity ‌ or numbered entity ‌) just before the b, which kept the bold from working. The same method is used to kill links or any other markup where you want the reader to see it instead of it executing.
The HTML entity zero-width-non-joiner can be used in most places, including in this forum. There is one exception, though, namely inside a teletype markup. In that situation, the zwnj gets converted to a very visible space that is messy: This is teletype with a zwnj inside the word teletype.. Note the space between tele and type. However, the identical text outside of teletype is OK: This is NOT teletype, but there is still a zwnj inside the word teletype. No space is visible.
There is another entity that could be used for the same purpose, namely, the zero-width-space (numbered entity #8203; - no named entity exists). This works in the middle of UBBC teletype markup, so you might as well standardize it everywhere in this forum. Example: This is teletype markup and this is how you kill an — entity right in the middle of it. Notice that there is no space in the middle of the named entity for the mdash because the zwsp was used instead of the zwnj, thus skirting the bug.
Backup file is: HFW_zwnj-bug_20130924.txt
Sometimes you wish to kill HTML or UBBC markup in order to show the reader the what is being entered. Example: "Type [b]bold text[/b] in order to get bold text." Notice that the first bold text did not bold, but second one did. The difference between the two phrases is that the first one was killed by inserting a zero-width non-joiner character (named entity ‌ or numbered entity ‌) just before the b, which kept the bold from working. The same method is used to kill links or any other markup where you want the reader to see it instead of it executing.
The HTML entity zero-width-non-joiner can be used in most places, including in this forum. There is one exception, though, namely inside a teletype markup. In that situation, the zwnj gets converted to a very visible space that is messy: This is teletype with a zwnj inside the word teletype.. Note the space between tele and type. However, the identical text outside of teletype is OK: This is NOT teletype, but there is still a zwnj inside the word teletype. No space is visible.
There is another entity that could be used for the same purpose, namely, the zero-width-space (numbered entity #8203; - no named entity exists). This works in the middle of UBBC teletype markup, so you might as well standardize it everywhere in this forum. Example: This is teletype markup and this is how you kill an — entity right in the middle of it. Notice that there is no space in the middle of the named entity for the mdash because the zwsp was used instead of the zwnj, thus skirting the bug.
Backup file is: HFW_zwnj-bug_20130924.txt