Provides transforms from text/x-web-intelligent to text/html and vice versa.
Project description
plone.intelligenttext
Overview
Provides transforms from text/x-web-intelligent to text/html and vice versa.
Line breaks and indentation are preserved, and web and email addresses are made into clickable links. Links get a rel="nofollow" to make this less interesting for spammers.
This package works in pure Python 2.7 and 3.0 and has no dependency on Plone.
Changelog
2.1.0 (2015-10-27)
New:
Make compatible with Python 3. [davisagli]
Fixes:
Minor cleanup (pep8, readability, ReST) [jensens]
2.0.3 (2015-05-11)
Minor cleanup: whitespace, git ignores. [gforcada, rnix]
2.0.2 (2013-01-01)
Allows an easy way to extend the converter through subclassing. One might want to override the regexps, or modify the HTML that one of the replace* methods produces. https://github.com/plone/plone.intelligenttext/pull/1 [dnouri]
Add MANIFEST.in. [WouterVH]
2.0.1 - 2010-07-18
Update license to GPL version 2 only. [hannosch]
2.0 - 2010-06-13
Package metadata cleanup. [hannosch]
2.0a1 - 2009-04-04
Specify package dependencies. [hannosch]
1.0.3 - 2009-04-09
Handle windows line endings. [elro]
URLs in html really should have the ampersand quoted. [elro]
Specify package dependencies. [hannosch]
1.0.2 - 2008-07-17
When convertWebIntelligentPlainTextToHtml is called with an explicit tab_width we try to make an integer of that (‘2’ -> 2). When that fails we use the default of 4. [maurits]
Minor change in code path, really only to get 100 percent test coverage. [maurits]
1.0.1 - 2007-12-04
Accept ip addresses as valid urls. [maurits]
Accept localhost as valid url. [maurits]
Recognize urls with port numbers as links. Fixes http://plone.org/products/poi/issues/156 [maurits]
If there is a url in brackets, the link should not contain one of the brackets. Fixes http://plone.org/products/poi/issues/155 [maurits]
Fix error where ampersands in urls would get html escaped. Refs http://plone.org/products/poi/issues/101 [maurits]
Accept input of None to our transforms. [maurits]
Add unit tests (mostly taken from Products.intelligenttext). [maurits]
1.0 - 2007-08-15
Released version 1.0. [diefenbach]
1.0b2 - 2007-05-07
Some documentation cleanup. [hannosch]
1.0-beta1 - 2007-04-07
Move into plone namespace and integration to PloneTransforms and MimetypesRegistry/ [diefenbach]
0.1
Initial development by Martin Aspeli (optilude@gmx.net). For further informations see http://dev.plone.org/collective/browser/intelligenttext/
The transform was originally based on the url_to_hyperlink transform from Ploneboard by Plone Solutions and others.
Initial package structure. [zopeskel]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for plone.intelligenttext-2.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6c6d31369def051c933392351ba6fe0e0698f40d2da002f88dbc7e58a1d9a5b |
|
MD5 | 30ff6f2e6c4aa2d4ae6245f5eaeda93f |
|
BLAKE2b-256 | a751ad14d8e969349e8163e0c7a06e13198963e500321901ab10ec86d3bcb334 |