@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | if (isset($codeTypeTag[0])) { |
75 | 75 | $start = mb_strpos($codeTypeTag[0], '['); |
76 | 76 | $end = mb_strpos($codeTypeTag[0], ']'); |
77 | - $language = mb_substr($codeTypeTag[0], $start + 1, $end - ($start + 1)); |
|
77 | + $language = mb_substr($codeTypeTag[0], $start+1, $end-($start+1)); |
|
78 | 78 | } else { |
79 | 79 | // will use php as a defualt language type when none is provided |
80 | 80 | $language = 'php'; |
@@ -100,11 +100,11 @@ discard block |
||
100 | 100 | { |
101 | 101 | $config = ConfigProvider::getInstance(); |
102 | 102 | |
103 | - $whole_match = $matches[1]; |
|
104 | - $link_text = $this->runSpanGamut($matches[2]); |
|
105 | - $url = $matches[3] == '' ? $matches[4] : $matches[3]; |
|
106 | - $title =& $matches[7]; |
|
107 | - $attr = $this->doExtraAttributes("a", $dummy =& $matches[8]); |
|
103 | + $whole_match = $matches[1]; |
|
104 | + $link_text = $this->runSpanGamut($matches[2]); |
|
105 | + $url = $matches[3] == '' ? $matches[4] : $matches[3]; |
|
106 | + $title = & $matches[7]; |
|
107 | + $attr = $this->doExtraAttributes("a", $dummy = & $matches[8]); |
|
108 | 108 | |
109 | 109 | $external = false; |
110 | 110 | |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | $result = "<a href=\"$url\""; |
127 | 127 | if (isset($title)) { |
128 | 128 | $title = $this->encodeAttribute($title); |
129 | - $result .= " title=\"$title\""; |
|
129 | + $result .= " title=\"$title\""; |
|
130 | 130 | } |
131 | 131 | if ($external) { |
132 | 132 | $result .= " target=\"$url\""; |
@@ -205,6 +205,6 @@ discard block |
||
205 | 205 | $text .= "</tbody>\n"; |
206 | 206 | $text .= "</table>"; |
207 | 207 | |
208 | - return $this->hashBlock($text) . "\n"; |
|
208 | + return $this->hashBlock($text)."\n"; |
|
209 | 209 | } |
210 | 210 | } |