Capitalization within angled brackets in code blocks are lost
-
I began using MoSI in my blog but began seeing some strange behavior.
I occasionally include Unity3D C# example code, which is a language that uses angled brackets for referring to classes when using generics, eg:
TestClass tc = GetComponent<TestClass>();
Just in case the line above doesn’t show up properly in this comments section, it’s
TestClass tc = GetComponent LESS_THAN TestClass GREATER_THAN ();
please do the character replacement in your head ??MoSI does retain the angled brackets when saving, but turns everything contained within the brackets into lowercase. In the example it would make TestClass into testclass.
As C# class names are case-sensitive, this breaks the functionality of the code blocks. Have I stumbled onto a previously unknown bug or is it my environment? Help appreciated.
https://www.ads-software.com/plugins/markdown-on-save-improved/
- The topic ‘Capitalization within angled brackets in code blocks are lost’ is closed to new replies.