public static void htmlDisplayStringInParagraphs(String s, org.powerloom.PrintableStringWriter stream) {
    { int start = 0;
      int pos = 0;

      while (pos != Stella.NULL_INTEGER) {
        pos = Native.stringSearch(s, "\n\n", start);
        {
          stream.print("<P>");
          Stella.writeHtmlQuotingSpecialCharacters(stream, Native.string_subsequence(s, start, pos));
          stream.println("</P>");
        }
        if (!(pos == Stella.NULL_INTEGER)) {
          start = pos + 2;
        }
      }
    }
  }