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 3f87045 commit 3fe3780Copy full SHA for 3fe3780
main.cpp
@@ -383,7 +383,10 @@ static map<const string, const function<void(myhtml_tree_node_t*)>> mode_handler
383
384
do{
385
if(state["modearg"] == mycore_string_data(&attr->key)){
386
- fmt::print(format_node(node), mycore_string_data(&attr->value));
+ const char* attr_value = mycore_string_data(&attr->value);
387
+ if(attr_value != nullptr) {
388
+ fmt::print(format_node(node), attr_value);
389
+ }
390
printf("%c", state["delim"][0]);
391
}
392
}while(attr != token->attr_last && (attr = attr->next)); // move attr pointer further & loop if attr_last not hit
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments