This commit is contained in:
2010-06-23 18:19:17 +00:00
parent ce3b1b4be9
commit e8e71db9bb
2 changed files with 14 additions and 8 deletions

View File

@@ -376,18 +376,24 @@ namespace Volian.Svg.Library
return m.Value;
if (Regex.IsMatch(m.Value, @"\\ul.*"))
return m.Value; // Underline
if (Regex.IsMatch(m.Value, @"^\\up[0-9] ?$"))
return m.Value; // shift up (superscript)
break;
case 'd':
if (Regex.IsMatch(m.Value, @"^\\dn[0-9] ?$"))
return m.Value; // shift down (subscript)
break;
case '\'': // Special Character
return m.Value;
case 'b': // Bold
return m.Value;
case 's': // sub or super....
if (m.Value == @"\sub") return m.Value;
if (m.Value == @"\super") return m.Value;
break;
case 'n': // nosubsuper...
if (m.Value == @"\nosupersub") return m.Value;
break;
//case 's': // sub or super....
// if (m.Value == @"\sub") return m.Value;
// if (m.Value == @"\super") return m.Value;
// break;
//case 'n': // nosubsuper...
// if (m.Value == @"\nosupersub") return m.Value;
// break;
case 'i': // Italics
return m.Value;
case 'v': // save link hidden info