• Resolved Florin Oprea

    (@florinopreaeu)


    Hello,

    This plugin does not properly detect the first character if the text is not written in Latin characters. Eg. starting with ÎĂȘȚ

    The solution is to modify /register-shortcode.php like this:

    if ( preg_match( ‘#(>|]|^)(([0-9]|[\p{L}])(.*\R)*(\R)*.*)#m’, $content, $matches ) ) {

    Have fun!

    https://ww.wp.xz.cn/plugins/simple-drop-cap/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘First character’ is closed to new replies.