[ php-blog-Bugs-1608027 ] (1.2) serendipity_event_emoticate doesn't work in beginning
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.serendipity.trackers |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1608027, was opened at 2006-12-03 19:51
Message generated for change (Comment added) made by garvinhicking
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1608027&group_id=75065
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Plugins
Group: None
Status: Open
>Resolution: Accepted
>Priority: 6
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Garvin Hicking (garvinhicking)
>Summary: (1.2) serendipity_event_emoticate doesn't work in beginning
Initial Comment:
Some people commented my blog only with a smiley, that's why I noticed that, when a smiley is directly at the beginning of an entry, it is not replaced by an image. I solved this by replacing
preg_replace("/([\t\s\.\!>]+)" . $key
with
preg_replace("/([\t\s\.\!>]+|^)" . $key
in /plugins/serendipity_event_emoticate/serendipity_event_emoticate.php
These are only the beginnings of the lines. I simply matched the beginng of the element.
I've taken look at the beta and the latest version on s9y.org, it seems to concern all versions so far.
----------------------------------------------------------------------
>Comment By: Garvin Hicking (garvinhicking)
Date: 2006-12-03 20:44
Message:
Logged In: YES
user_id=473563
Originator: NO
Hi!
Thanks a lot! I will commit this patch as soon as we open our 1.2 release
tree!
Best regards,
Garvin
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=542822&aid=1608027&group_id=75065
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV