src/Blocks/Inline/BlockEmphasis.php
protected function convertStars($lineContent)
    {
        return preg_replace_callback('/([\*]{1})(\S+)(.*)(\S+)([\*]{1})/U', function ($found) {
            if (strpos($found[0], '\\*')) {
                return $found[0];
            }

            if (strpos($found[0], static::DOUBLE_ASTERISKS) !== false) {
                return $found[0];
            }

            return $this->getStartTag() . str_replace('*', '', $found[0]) . $this->getEndTag();
        }, $lineContent);
    }
protected function convertStars($lineContent)
    {
        return preg_replace_callback('/([\*]{1})(\S+)(.*)(\S+)([\*]{1})/U', function ($found) {
            if (strpos($found[0], '\\*')) {
                return $found[0];
            }

            if (strpos($found[0], static::DOUBLE_ASTERISKS) !== false) {
                return $found[0];
            }

            return $this->getStartTag() . str_replace('*', '', $found[0]) . $this->getEndTag();
        }, $lineContent);
    }
@param string $lineContent

@return string