Offset 1, 4 lines modified | Offset 1, 4 lines modified | ||
1 | · | 1 | ·ad0f066fd990c83558e1a1591b4d780e·67660·doc·optional·python-bleach-doc_3.1.2-0+deb10u2_all.deb |
2 | ·4b11647162cce40d92437671ebd9595c·113872·python·optional·python-bleach_3.1.2-0+deb10u2_all.deb | 2 | ·4b11647162cce40d92437671ebd9595c·113872·python·optional·python-bleach_3.1.2-0+deb10u2_all.deb |
3 | ·c862880a9b2c63f70a17e275708dee1f·113972·python·optional·python3-bleach_3.1.2-0+deb10u2_all.deb | 3 | ·c862880a9b2c63f70a17e275708dee1f·113972·python·optional·python3-bleach_3.1.2-0+deb10u2_all.deb |
Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
1 | -rw-r--r--···0········0········0········4·2021-04-15·18:57:08.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2021-04-15·18:57:08.000000·debian-binary |
2 | -rw-r--r--···0········0········0·····2080·2021-04-15·18:57:08.000000·control.tar.xz | 2 | -rw-r--r--···0········0········0·····2080·2021-04-15·18:57:08.000000·control.tar.xz |
3 | -rw-r--r--···0········0········0····653 | 3 | -rw-r--r--···0········0········0····65388·2021-04-15·18:57:08.000000·data.tar.xz |
Offset 329, 15 lines modified | Offset 329, 15 lines modified | ||
329 | <span·class="gp">>>>·</span><span·class="n">linker</span>·<span·class="o">=</span>·<span·class="n">Linker</span><span·class="p">(</span><span·class="n">skip_tags</span><span·class="o">=</span><span·class="p">[</span><span·class="s1">'pre'</span><span·class="p">])</span> | 329 | <span·class="gp">>>>·</span><span·class="n">linker</span>·<span·class="o">=</span>·<span·class="n">Linker</span><span·class="p">(</span><span·class="n">skip_tags</span><span·class="o">=</span><span·class="p">[</span><span·class="s1">'pre'</span><span·class="p">])</span> |
330 | <span·class="gp">>>>·</span><span·class="n">linker</span><span·class="o">.</span><span·class="n">linkify</span><span·class="p">(</span><span·class="s1">'a·b·c·http://example.com·d·e·f'</span><span·class="p">)</span> | 330 | <span·class="gp">>>>·</span><span·class="n">linker</span><span·class="o">.</span><span·class="n">linkify</span><span·class="p">(</span><span·class="s1">'a·b·c·http://example.com·d·e·f'</span><span·class="p">)</span> |
331 | <span·class="go">'a·b·c·<a·href="http://example.com"·rel="nofollow">http://example.com</a>·d·e·f'</span> | 331 | <span·class="go">'a·b·c·<a·href="http://example.com"·rel="nofollow">http://example.com</a>·d·e·f'</span> |
332 | </pre></div> | 332 | </pre></div> |
333 | </div> | 333 | </div> |
334 | <dl·class="class"> | 334 | <dl·class="class"> |
335 | <dt·id="bleach.linkifier.Linker"> | 335 | <dt·id="bleach.linkifier.Linker"> |
336 | <em·class="property">class·</em><code·class="descclassname">bleach.linkifier.</code><code·class="descname">Linker</code><span·class="sig-paren">(</span><em>callbacks=[<function·nofollow>],·skip_tags=None,·parse_email=False,·url_re=re.compile('\(*··#·Match·any·opening·parentheses.n········\b(?<![@.])(?:(?: | 336 | <em·class="property">class·</em><code·class="descclassname">bleach.linkifier.</code><code·class="descname">Linker</code><span·class="sig-paren">(</span><em>callbacks=[<function·nofollow>],·skip_tags=None,·parse_email=False,·url_re=re.compile('\(*··#·Match·any·opening·parentheses.n········\b(?<![@.])(?:(?:news|mailto|ftp|nntp|telnet|sftp|data|afs|aim|ed2k|http|xmpp|tag|rtsp|callto|gopher|https|feed|urn|irc|rsync|ssh|webcal):/{0,3}(?:(?:,·re.IGNORECASE|re.VERBOSE),·email_re=re.compile('(?<!//)n····(([-!#$%&'*+/=?^_`{}|~0-9A-Z]+n········(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*··#·dot-atomn····|^"([\001-\010\013\014\016-\037!#-\[\]-\177]n········|\\[\001-\011\013\014\,·re.IGNORECASE|re.MULTILINE|re.VERBOSE),·recognized_tags=['a',·'abbr',·'address',·'area',·'article',·'aside',·'audio',·'b',·'base',·'bdi',·'bdo',·'blockquote',·'body',·'br',·'button',·'canvas',·'caption',·'cite',·'code',·'col',·'colgroup',·'data',·'datalist',·'dd',·'del',·'details',·'dfn',·'dialog',·'div',·'dl',·'dt',·'em',·'embed',·'fieldset',·'figcaption',·'figure',·'footer',·'form',·'h1',·'h2',·'h3',·'h4',·'h5',·'h6',·'head',·'header',·'hgroup',·'hr',·'html',·'i',·'iframe',·'img',·'input',·'ins',·'kbd',·'keygen',·'label',·'legend',·'li',·'link',·'map',·'mark',·'menu',·'meta',·'meter',·'nav',·'noscript',·'object',·'ol',·'optgroup',·'option',·'output',·'p',·'param',·'picture',·'pre',·'progress',·'q',·'rp',·'rt',·'ruby',·'s',·'samp',·'script',·'section',·'select',·'slot',·'small',·'source',·'span',·'strong',·'style',·'sub',·'summary',·'sup',·'table',·'tbody',·'td',·'template',·'textarea',·'tfoot',·'th',·'thead',·'time',·'title',·'tr',·'track',·'u',·'ul',·'var',·'video',·'wbr']</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/bleach/linkifier.html#Linker"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#bleach.linkifier.Linker"·title="Permalink·to·this·definition">¶</a></dt> |
337 | <dd><p>Convert·URL-like·strings·in·an·HTML·fragment·to·links</p> | 337 | <dd><p>Convert·URL-like·strings·in·an·HTML·fragment·to·links</p> |
338 | <p>This·function·converts·strings·that·look·like·URLs,·domain·names·and·email | 338 | <p>This·function·converts·strings·that·look·like·URLs,·domain·names·and·email |
339 | addresses·in·text·that·may·be·an·HTML·fragment·to·links,·while·preserving:</p> | 339 | addresses·in·text·that·may·be·an·HTML·fragment·to·links,·while·preserving:</p> |
340 | <ol·class="arabic·simple"> | 340 | <ol·class="arabic·simple"> |
341 | <li>links·already·in·the·string</li> | 341 | <li>links·already·in·the·string</li> |
342 | <li>urls·found·in·attributes</li> | 342 | <li>urls·found·in·attributes</li> |
343 | <li>email·addresses</li> | 343 | <li>email·addresses</li> |
Offset 427, 15 lines modified | Offset 427, 15 lines modified | ||
427 | <span·class="gp">...</span> | 427 | <span·class="gp">...</span> |
428 | <span·class="gp">>>>·</span><span·class="n">cleaner</span><span·class="o">.</span><span·class="n">clean</span><span·class="p">(</span><span·class="s1">'<pre>http://example.com</pre>'</span><span·class="p">)</span> | 428 | <span·class="gp">>>>·</span><span·class="n">cleaner</span><span·class="o">.</span><span·class="n">clean</span><span·class="p">(</span><span·class="s1">'<pre>http://example.com</pre>'</span><span·class="p">)</span> |
429 | <span·class="go">'<pre>http://example.com</pre>'</span> | 429 | <span·class="go">'<pre>http://example.com</pre>'</span> |
430 | </pre></div> | 430 | </pre></div> |
431 | </div> | 431 | </div> |
432 | <dl·class="class"> | 432 | <dl·class="class"> |
433 | <dt·id="bleach.linkifier.LinkifyFilter"> | 433 | <dt·id="bleach.linkifier.LinkifyFilter"> |
434 | <em·class="property">class·</em><code·class="descclassname">bleach.linkifier.</code><code·class="descname">LinkifyFilter</code><span·class="sig-paren">(</span><em>source</em>,·<em>callbacks=None</em>,·<em>skip_tags=None</em>,·<em>parse_email=False</em>,·<em>url_re=re.compile('\(*··#·Match·any·opening·parentheses.n········\b(?<![@.])(?:(?: | 434 | <em·class="property">class·</em><code·class="descclassname">bleach.linkifier.</code><code·class="descname">LinkifyFilter</code><span·class="sig-paren">(</span><em>source</em>,·<em>callbacks=None</em>,·<em>skip_tags=None</em>,·<em>parse_email=False</em>,·<em>url_re=re.compile('\(*··#·Match·any·opening·parentheses.n········\b(?<![@.])(?:(?:news|mailto|ftp|nntp|telnet|sftp|data|afs|aim|ed2k|http|xmpp|tag|rtsp|callto|gopher|https|feed|urn|irc|rsync|ssh|webcal):/{0</em>,·<em>3}(?:(?:</em>,·<em>re.IGNORECASE|re.VERBOSE)</em>,·<em>email_re=re.compile('(?<!//)n····(([-!#$%&'*+/=?^_`{}|~0-9A-Z]+n········(\.[-!#$%&'*+/=?^_`{}|~0-9A-Z]+)*··#·dot-atomn····|^"([\001-\010\013\014\016-\037!#-\[\]-\177]n········|\\[\001-\011\013\014\</em>,·<em>re.IGNORECASE|re.MULTILINE|re.VERBOSE)</em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/bleach/linkifier.html#LinkifyFilter"><span·class="viewcode-link">[source]</span></a><a·class="headerlink"·href="#bleach.linkifier.LinkifyFilter"·title="Permalink·to·this·definition">¶</a></dt> |
435 | <dd><p>html5lib·filter·that·linkifies·text</p> | 435 | <dd><p>html5lib·filter·that·linkifies·text</p> |
436 | <p>This·will·do·the·following:</p> | 436 | <p>This·will·do·the·following:</p> |
437 | <ul·class="simple"> | 437 | <ul·class="simple"> |
438 | <li>convert·email·addresses·into·links</li> | 438 | <li>convert·email·addresses·into·links</li> |
439 | <li>convert·urls·into·links</li> | 439 | <li>convert·urls·into·links</li> |
440 | <li>edit·existing·links·by·running·them·through·callbacks–the·default·is·to | 440 | <li>edit·existing·links·by·running·them·through·callbacks–the·default·is·to |
441 | add·a·<code·class="docutils·literal·notranslate"><span·class="pre">rel="nofollow"</span></code></li> | 441 | add·a·<code·class="docutils·literal·notranslate"><span·class="pre">rel="nofollow"</span></code></li> |