mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-01 11:21:25 -05:00
ported trunk commit 3078: bug correction in chat smiley substitution
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
c94a5c4e67
commit
27943d2e8c
@ -55,10 +55,8 @@ void EmbedInHtmlImg::InitFromAwkwardHash(const QHash< QString, QString >& hash)
|
||||
* @param[in,out] currentElement The current node (which is of type Element)
|
||||
* @param[in] embedInfos The regular expression and the type of embedding to use
|
||||
*/
|
||||
void embedHtml(QDomDocument& doc, QDomElement& currentElement, const EmbedInHtml& _embedInfos)
|
||||
void embedHtml(QDomDocument& doc, QDomElement& currentElement, EmbedInHtml& embedInfos)
|
||||
{
|
||||
EmbedInHtml embedInfos(_embedInfos) ;
|
||||
|
||||
if(embedInfos.myRE.pattern().length() == 0) // we'll get stuck with an empty regexp
|
||||
return;
|
||||
|
||||
|
@ -103,7 +103,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
void embedHtml(QDomDocument& doc, QDomElement& currentElement, const EmbedInHtml& embedInfos);
|
||||
void embedHtml(QDomDocument& doc, QDomElement& currentElement, EmbedInHtml& embedInfos);
|
||||
|
||||
|
||||
} // namespace RsChat
|
||||
|
Loading…
x
Reference in New Issue
Block a user