[ php-blog-Bugs-1608027 ] serendipity_event_emoticate doesn't work at the beginning

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.serendipity.trackers
Message-ID <[email protected]>
Bugs item #1608027, was opened at 2006-12-03 11:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: serendipity_event_emoticate doesn't work at the 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.

----------------------------------------------------------------------

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.