Closed bobbingwide closed 7 years ago
In http://www.oik-plugins.com/oik_api/_bw_show_contact_form_oik/ the Description contains Note: The * indicates Required field
Note: The * indicates Required field
As shown. The single * should not be converted.
Note: The <em>/em> indicates Required field
This leads to the rest of the content being italicised.
The asterisk is incorrectly treated as markdown emphasis by the paired_replacements() function.
Check for overlaps in the paired replacements.
Change the Description
Questions:
In http://www.oik-plugins.com/oik_api/_bw_show_contact_form_oik/ the Description contains
Note: The * indicates Required field
Expected output
As shown. The single * should not be converted.
Actual output
Note: The <em>/em> indicates Required field
This leads to the rest of the content being italicised.
Explanation
The asterisk is incorrectly treated as markdown emphasis by the paired_replacements() function.
Proposed solution
Check for overlaps in the paired replacements.
Workaround
Change the Description