We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c948759 commit cb9b372Copy full SHA for cb9b372
src/PHPFUI/InstaDoc/Section/CodeCommon.php
@@ -252,7 +252,14 @@ protected function formatComments(?\phpDocumentor\Reflection\DocBlock $docBlock,
252
$body .= $this->getColor('variable', '$' . $varname) . '';
253
}
254
255
- $body .= $this->parsedown->html(\str_replace(['<', '>'], ['<', '>'], $description));
+ $parts = \explode('$', $description);
256
+
257
+ if (\count($parts) > 1)
258
+ {
259
+ $parts[0] = \str_replace(['<', '>'], ['<', '>'], $parts[0]);
260
+ $description = \implode('$', $parts);
261
+ }
262
+ $body .= $this->parsedown->html($description);
263
$ul->addItem(new \PHPFUI\ListItem($this->getColor('name', $name) . '' . $this->getColor('description', $body)));
264
265
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments