diff --git a/src/marisa.cpp b/src/marisa.cpp index 2581f4d..2eeb21d 100644 --- a/src/marisa.cpp +++ b/src/marisa.cpp @@ -221,7 +221,7 @@ void lookup_words(marisa_params params) pos_in_gd_word -= static_cast(uni_char.length()); } - ajt::println( + ajt::print( R"({})", (pos_in_gd_word > 0 ? "gd-headword" : "gd-word"), bword, @@ -231,9 +231,9 @@ void lookup_words(marisa_params params) } // Show available entries for other substrings. - ajt::println(R"(
)"); + ajt::print(R"(
)"); for (auto const& group: alternatives | std::views::filter(&JpSet::size)) { - ajt::println("
    "); + ajt::print("
      "); for (auto const& word: group) { ajt::println( R"(
    • {}
    • )",