HomeSort by relevance Sort by last modified time
    Searched refs:Markup (Results 1 - 15 of 15) sorted by null

  /external/chromium_org/third_party/markupsafe/
__init__.py 6 Implements a Markup string.
16 __all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
23 class Markup(text_type):
26 of frameworks and web applications use. :class:`Markup` is a direct
28 it escapes arguments passed and always returns `Markup`.
30 The `escape` function returns markup objects so that double escaping can't
33 The constructor of the :class:`Markup` class can be used for three
39 >>> Markup("Hello <em>World</em>!")
40 Markup(u'Hello <em>World</em>!')
45 >>> Markup(Foo()
    [all...]
_native.py 11 from markupsafe import Markup
18 such characters in HTML. Marks return value as markup string.
22 return Markup(text_type(s)
33 markup string.
36 return Markup()
41 """Make a string unicode if it isn't already. That way a markup
_speedups.c 24 static PyObject* markup; variable
45 /* import markup type so that we can mark the return value */
49 markup = PyObject_GetAttrString(module, "Markup");
129 return PyObject_CallFunctionObjArgs(markup, text, NULL);
155 /* convert the unicode string into a markup object. */
156 rv = PyObject_CallFunctionObjArgs(markup, (PyObject*)s, NULL);
167 return PyObject_CallFunctionObjArgs(markup, NULL);
187 "escape(s) -> markup\n\n"
190 "such characters in HTML. Marks return value as markup string."}
    [all...]
  /external/chromium_org/third_party/jinja2/
__init__.py 55 from jinja2.utils import Markup, escape, clear_caches, \
66 'ModuleLoader', 'environmentfilter', 'contextfilter', 'Markup', 'escape',
ext.py 22 from jinja2.utils import contextfunction, import_string, Markup
140 rv = Markup(rv)
151 rv = Markup(rv)
runtime.py 13 from jinja2.utils import Markup, soft_unicode, escape, missing, concat, \
22 __all__ = ['LoopContext', 'TemplateReference', 'Macro', 'Markup',
44 return Markup(u'').join(chain(buf, iterator))
276 rv = Markup(rv)
utils.py 276 return Markup(u'\n'.join(u'<p>%s</p>' % escape(x) for x in result))
520 from markupsafe import Markup, escape, soft_unicode
filters.py 17 from jinja2.utils import Markup, escape, pformat, urlize, soft_unicode, \
170 rv = Markup(rv)
321 # if any of the items has. If yes we do a coercion to Markup
426 rv = Markup(rv)
557 return Markup(text_type(value)).striptags()
747 return Markup(value)
environment.py 28 from jinja2.utils import import_string, LRUCache, Markup, missing, \
184 :class:`~jinja2.utils.Markup`. As of Jinja 2.4 this can also
    [all...]
nodes.py 18 from jinja2.utils import Markup
462 return Markup(self.data)
840 """Mark the wrapped expression as safe (wrap it as `Markup`)."""
845 return Markup(self.expr.as_const(eval_ctx))
849 """Mark the wrapped expression as safe (wrap it as `Markup`) but
862 return Markup(expr)
compiler.py 18 from jinja2.utils import Markup, concat, escape
71 Markup) + string_types):
440 self.writeline('return Markup(concat(%s))' % frame.buffer)
447 self.writeline('return Markup(concat(%s))' % frame.buffer)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_htmlparser.py 31 # structure markup
42 # all other markup
579 # and "8.2.4.45 Markup declaration open state", comment tokens should
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_htmlparser.py 31 # structure markup
42 # all other markup
579 # and "8.2.4.45 Markup declaration open state", comment tokens should
  /external/bison/build-aux/
texinfo.tex     [all...]
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
texinfo.tex     [all...]

Completed in 300 milliseconds