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
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 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
Built Distribution
Hashes for plone.intelligenttext-3.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ddb7611137a355bbeacb2ef6ef7ce4efb9b7efc34b45b30ed4ba5a4962b4b1 |
|
MD5 | 6f7a8e9c8d376b014f6bc5650e6a8213 |
|
BLAKE2b-256 | 6d6331bdccd8bdcc3d6bd10d2b4423a972f751ef3195ad0bd7056b9e4238cc00 |
Hashes for plone.intelligenttext-3.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfec0de5c8658cf8cb2b47a92d1185e36edc607a27bc09a028e0cdbb2494d5ae |
|
MD5 | bf3f631e9031248977def214acbcd3be |
|
BLAKE2b-256 | 2758bba61d1602ea065d17ea0ba405c5ac660fa4b5b708516a965ffd895406d1 |