Bug 305997

Summary: Plugins should be able to run before the escape filter
Product: [Frameworks and Libraries] telepathy Reporter: Daniele E. Domenichelli <ddomenichelli>
Component: text-ui-message-filtersAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: wishlist CC: kde
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.7.0

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