Bug 305997 - Plugins should be able to run before the escape filter
Summary: Plugins should be able to run before the escape filter
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui-message-filters (show other bugs)
Version: git-latest
Platform: unspecified Linux
: NOR wishlist
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 15:46 UTC by Daniele E. Domenichelli
Modified: 2013-05-15 13:10 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele E. Domenichelli 2012-08-29 15:46:22 UTC
Some filters should run before the escape filter, for example if a filter wants to replace a part with a pre-formatted text in a <pre> tag, that part should not be escaped... (/n should not be replaced by <br/>, etc)
Comment 1 Daniel Vrátil 2013-05-15 13:10:27 UTC
Git commit f2ca5230a91d5e308cbfabc4464d2639ac200b60 by Dan Vrátil.
Committed on 15/05/2013 at 15:08.
Pushed by dvratil into branch 'master'.

Allow dynamic loading and unloading of text filters

The code now also allows running filters before the default
escape filter.
Related: bug 316887
FIXED-IN: 0.7.0

M  +19   -0    KTp/message-filter-config-manager.cpp
M  +2    -0    KTp/message-filter-config-manager.h
A  +53   -0    KTp/message-processor-private.h     [License: LGPL (v2.1+)]
M  +71   -48   KTp/message-processor.cpp
M  +1    -0    KTp/message-processor.h

http://commits.kde.org/telepathy-common-internals/f2ca5230a91d5e308cbfabc4464d2639ac200b60