< prev index next >

src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/RawHtml.java

Print this page

        

*** 110,119 **** --- 110,124 ---- break; case '&': state = State.ENTITY; count++; break; + case '\r': + case '\n': + // Windows uses "\r\n" as line separator while UNIX uses "\n". + // Ignore line separators to get consistent results across platforms. + break; default: count++; } break;
< prev index next >