When a node is saved, the atoms that have been embedded via "Div" are not indexed because the code snippet below does not match the tag:

If (preg_match_all ('/

<\\ / div> /', $ string, $ Div_atoms)) {

The right would be:

If (preg_match_all ('/

/', $ String, $ div_atoms) {

Comments

hebertjulio created an issue. See original summary.

hebertjulio’s picture

StatusFileSize
new482 bytes

I create this fix to solve the problem.

hebertjulio’s picture

StatusFileSize
new482 bytes

Change path name.

renrhaf’s picture

Status: Active » Reviewed & tested by the community

Reviewed and reviewed on a clean Drupal install.
Without the patch, an atom embedded inside a WYSIWYG field in DIV notation is not detected.
With the patch it's working properly.
Thanks hebertjulio !

  • Renrhaf committed e08adef on 7.x-1.x authored by hebertjulio
    Issue #2869193 by hebertjulio, Renrhaf: Module does not index atom...
renrhaf’s picture

Status: Reviewed & tested by the community » Fixed
renrhaf’s picture

I just created a new tagged release (7.x-1.5) including this fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.