How to use the ufonormalizer.xmlEscapeAttribute function in ufonormalizer

To help you get started, we’ve selected a few ufonormalizer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')
github unified-font-object / ufoNormalizer / tests / test_ufonormalizer.py View on Github external
def test_xmlEscapeAttribute(self):
        self.assertEqual(xmlEscapeAttribute('"'), '"')
        self.assertEqual(xmlEscapeAttribute("'"), "'")
        self.assertEqual(xmlEscapeAttribute("abc"), 'abc')
        self.assertEqual(xmlEscapeAttribute("123"), '123')
        self.assertEqual(xmlEscapeAttribute("/"), '/')
        self.assertEqual(xmlEscapeAttribute("\\"), '\\')