Skip to content

Doesn't find smileys in the beginning of sentence #5

@luiscruz

Description

@luiscruz

When I have the following structure:

  <div class='message'>
    <p>:)</p> 
  </div>

And I execute:

  $('.message').emoticonize();

It doesn't recognize the smiley.

To fix it, i have to add a space in the beginning of sentence:

  <div class='message'>
    <p> :)</p> 
  </div>

OR execute:

$('.message p').emoticonize();

Thanks,
Luis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions