Home
last modified time | relevance | path

Searched refs:markup (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D_lxml.py149 def prepare_markup(self, markup, user_specified_encoding=None, argument
183 markup, stacklevel=3
188 if isinstance(markup, str):
195 if len(markup) > 0 and markup[0] == u'\N{BYTE ORDER MARK}':
196 markup = markup[1:]
197 yield markup, None, document_declared_encoding, False
199 if isinstance(markup, str):
202 yield (markup.encode("utf8"), "utf8",
214 markup, known_definite_encodings=known_definite_encodings,
219 yield (detector.markup, encoding, document_declared_encoding, False)
[all …]
H A D__init__.py228 def feed(self, markup): argument
239 def prepare_markup(self, markup, user_specified_encoding=None, argument
265 yield markup, None, None, False
340 def feed(self, markup): argument
517 def warn_if_markup_looks_like_xml(cls, markup, stacklevel=3): argument
531 if isinstance(markup, bytes):
538 if (markup is not None
539 and markup.startswith(prefix)
540 and not looks_like_html.search(markup[:500])
H A D_htmlparser.py323 def prepare_markup(self, markup, user_specified_encoding=None, argument
344 if isinstance(markup, str):
346 yield (markup, None, None, False)
362 markup,
368 yield (dammit.markup, dammit.original_encoding,
372 def feed(self, markup): argument
380 parser.feed(markup)
H A D_html5lib.py64 def prepare_markup(self, markup, user_specified_encoding, argument
81 markup, stacklevel=3
84 yield (markup, None, None, False)
87 def feed(self, markup): argument
96 if not isinstance(markup, str):
101 doc = parser.parse(markup, **extra_kwargs)
104 if isinstance(markup, str):
/openbmc/openbmc/poky/bitbake/lib/bs4/
H A D__init__.py122 def __init__(self, markup="", features=None, builder=None, argument
227 if from_encoding and isinstance(markup, str):
263 ) and markup:
313 if hasattr(markup, 'read'): # It's a file-type object.
314 markup = markup.read()
315 elif len(markup) <= 256 and (
316 (isinstance(markup, bytes) and not b'<' in markup)
317 or (isinstance(markup, str) and not '<' in markup)
323 if not self._markup_is_url(markup):
324 self._markup_resembles_filename(markup)
[all …]
H A Ddammit.py344 def __init__(self, markup, known_definite_encodings=None, argument
389 self.markup, self.sniffed_encoding = self.strip_byte_order_mark(markup)
435 self.markup, self.is_html)
442 self.chardet_encoding = chardet_dammit(self.markup)
482 def find_declared_encoding(cls, markup, is_html=False, search_entire_document=False): argument
498 xml_endpos = html_endpos = len(markup)
501 html_endpos = max(2048, int(len(markup) * 0.05))
503 if isinstance(markup, bytes):
511 declared_encoding_match = xml_re.search(markup, endpos=xml_endpos)
513 declared_encoding_match = html_re.search(markup, endpos=html_endpos)
[all …]
H A Delement.py2254 markup = None
2256 markup = markup_name
2257 markup_attrs = markup
2263 if markup and not markup.prefix and self.name != markup.name:
2272 or (markup and self._matches(markup, self.name))
2273 or (not markup and self._matches(markup_name, self.name))):
2292 if markup:
2293 found = markup
2303 def search(self, markup): argument
2315 if hasattr(markup, '__iter__') and not isinstance(markup, (Tag, str)):
[all …]
H A DCHANGELOG13 markup would result in an AssertionError instead of a
65 * Tag.prettify() will now consistently end prettified markup with
284 the name of a regular file) is passed as markup into the BeautifulSoup
318 builder) which lets you customize the handling of markup that
327 warning issued when BeautifulSoup is instantiated with 'markup' that
359 non-ASCII characters as markup into Beautiful Soup, on a system that
404 completely rejects the incoming markup. [bug=1838877]
529 * When markup contains duplicate elements, a select() call that
537 markup string is a filename. [bug=1737121]
540 bad markup. [bug=1708831]
[all …]
/openbmc/openbmc/poky/meta/recipes-gnome/gnome/gconf/
H A Dcreate_config_directory.patch16 Index: GConf-3.2.6/backends/markup-backend.c
18 --- GConf-3.2.6.orig/backends/markup-backend.c
19 +++ GConf-3.2.6/backends/markup-backend.c
/openbmc/webui-vue/docs/guide/components/
H A Dreadme.md7 HTML markup. If the feature you're working on includes a new layout pattern,
8 rather than adding raw markup to the page, consider creating a component that
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/
H A Dpython3-meld3_2.0.1.bb4 template markup and dynamic rendering logic separate from one \
/openbmc/webui-vue/docs/guide/coding-standards/
H A Daccessibility.md26 Coding the UI using semantic markup is the most important step in creating an
32 1. Always favor semantic markup over ARIA
/openbmc/rest-dbus/resources/
H A Djsrender.min.js3markup?n:{}),i.tmplName=t,r&&(i._parentTmpl=r),!d&&n.markup&&(d=a(n.markup))&&d.fn&&(d=d.markup),v…
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Djsrender.min.js3markup?n:{}),i.tmplName=e,r&&(i._parentTmpl=r),!d&&n.markup&&(d=o(n.markup))&&d.fn&&(d=d.markup),v…
/openbmc/webui-vue/docs/guide/guidelines/
H A Dinternationalization.md23 - We use the `$t()` function in markup and `this.$t` in scripts (which Vue I18n
/openbmc/qemu/docs/devel/
H A Dqapi-domain.rst18 Sphinx for understanding rST markup written to document a specific
20 markup written by hand; the `autodoc
464 the large majority of cases, but additional context or namespace markup
500 <https://www.sphinx-doc.org/en/master/usage/domains/index.html#basic-markup>`_
/openbmc/webui-vue/docs/customization/
H A Dbuild.md74 navigation. This configuration will make customizations to the rendered markup
H A Dreadme.md356 file component that generates the markup it is acceptable. :::
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DGFDL-1.2-no-invariants-or-later28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.2-only28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.284 format whose markup, or absence of markup, has been arranged to thwart
90 ASCII without markup, Texinfo input format, LaTeX input format, SGML
H A DGFDL-1.2-or-later28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.2-invariants-or-later28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.2-invariants-only28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…
H A DGFDL-1.2-no-invariants-only28 …rs. A copy made in an otherwise Transparent file format whose markup, or absence of markup, has be…
30 Examples of suitable formats for Transparent copies include plain ASCII without markup, Texinfo inp…

12