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
4.0.0 (2023-04-26)
Breaking changes:
Drop python 2.7 support. [gforcada] (#1)
Internal:
Update configuration files. [plone devs] (2ed8f544)
3.1.0 (2020-04-20)
New features:
Drop Python 2.6 support from tests. Start testing on 3.7 and 3.8. [maurits] (#9)
3.0.0 (2018-10-31)
Breaking changes:
Dropped support for Python 3.3.
Bug fixes:
Return str from transform in Python 3. [davisagli]
2.2.1 (2018-01-17)
Bug fixes:
Remove use of pyenv on Travis now that they upped their PyPy game and use the tox-travis egg to simplify how the config file looks like. [Rotonen]
2.2 (2017-08-04)
New:
Recognizes URLs embedded at the end of sentences. The punctuation mark of the sentence is split from the URL. Use brackets to force punctuation marks at the end of URLs. [tarnap]
Fixes:
Use pyenv for installing python versions on Travis. [Rotonen]
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 information 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
Built Distribution
Hashes for plone.intelligenttext-4.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6efc11e3a4cf19e79854ba4ee712e165ae513394d5520da59a8a77f2fad36b0e |
|
MD5 | 1b05858c768f7a9545287dc0d64be0f2 |
|
BLAKE2b-256 | fecd296ae23654641aef700499178338beed31c2c68d16b269afe5408e0e5c6f |
Hashes for plone.intelligenttext-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72956341f8b15bb713377b0f77beeded98f5bc5fabb72144b1b0012ba4e3ca63 |
|
MD5 | 49cbfcfc6bd07cc36c035b18afe05135 |
|
BLAKE2b-256 | e1c76b27aca13e25cf98a09fd06386e0e58067057ef7b3550c6cb8cc7a36c2ab |