public function parse($text, $fixWebkit = false)
    {
        if ($fixWebkit) {
            return
                $this->webkitFix(
                    $this->closeParsing(
                        $this->parseTajweed($text)
                    )
                );
            }

            return
                $this->closeParsing(
                    $this->parseTajweed($text)
                );
    }
public function parse($text, $fixWebkit = false)
    {
        if ($fixWebkit) {
            return
                $this->webkitFix(
                    $this->closeParsing(
                        $this->parseTajweed($text)
                    )
                );
            }

            return
                $this->closeParsing(
                    $this->parseTajweed($text)
                );
    }
public function parse ( $ text , $ fixWebkit = false ) { if ( $ fixWebkit ) { return $ this -> webkitFix ( $ this -> closeParsing ( $ this -> parseTajweed ( $ text ) ) ) ; } return $ this -> closeParsing ( $ this -> parseTajweed ( $ text ) ) ; }
Parses tajweed from the GlobalQuran and AlQuran APIs to return markup
@param  string  $text      Verse text
@param  boolean $fixWebkit Tries to fix for Chrome and Safari. This is experimental and has known problems.
@return string             Parsed text that can be used to display tajweed
Parses tajweed from the GlobalQuran and AlQuran APIs to return markup