|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
class
attribute.
class
attribute.
a, b, blockquote, br, cite, code, dd, dl, dt, em, i, li,
ol, p, pre, q, small, strike, strong, sub, sup, u, ul
, and appropriate attributes.
Whitelist.basic()
, and also allows img
tags, with appropriate
attributes, with src
pointing to http
or https
.
body
element.
html()
methods), and which are kept intact.
class
attribute to the supplied class names.
Connection
to a URL.
data-
.
<!DOCTPYE>
node.Elements
, with methods that act on every element in the list.base
, which provides a limited set of named HTML
entities and escapes other characters as numbered entities for maximum compatibility; or extended
,
which uses the complete set of HTML named entities.
class
attribute.
head
element.
Connection
.id
attribute of this element.
Selector
query.
Jsoup
class, which provides convenient static access to the jsoup functionality.body
of the HTML.
body
of the HTML.
body
of a Document.
Parser.parseBodyFragment(java.lang.String, java.lang.String)
or Parser.parseFragment(java.lang.String, org.jsoup.nodes.Element, java.lang.String)
instead.
Document
.a, b, blockquote, br, caption, cite,
code, col, colgroup, dd, dl, dt, em, h1, h2, h3, h4, h5, h6, i, img, li, ol, p, pre, q, small, strike, strong, sub,
sup, table, tbody, td, tfoot, th, thead, tr, u, ul
Links do not have an enforced rel=nofollow
attribute, but you can add that if desired.
class
attribute.
class
attribute, if present.
Selector
CSS query, with this element as the starting context.
b, em, i, strong, u
.
body
of this document.
title
element.
title
element.
class
attribute: if present, remove it; otherwise add it.
class
attribute.
Attribute.html()
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |