lazy-blockquote.js revision 696:550f881d43ba
1139790Simp/*
266458Sdfr * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
366458Sdfr * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
466458Sdfr *
566458Sdfr * This code is free software; you can redistribute it and/or modify it
666458Sdfr * under the terms of the GNU General Public License version 2 only, as
766458Sdfr * published by the Free Software Foundation.
866458Sdfr *
966458Sdfr * This code is distributed in the hope that it will be useful, but WITHOUT
1066458Sdfr * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1166458Sdfr * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
1266458Sdfr * version 2 for more details (a copy is included in the LICENSE file that
1366458Sdfr * accompanied this code).
1466458Sdfr *
1566458Sdfr * You should have received a copy of the GNU General Public License version
1666458Sdfr * 2 along with this work; if not, write to the Free Software Foundation,
1766458Sdfr * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1866458Sdfr *
1966458Sdfr * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2066458Sdfr * or visit www.oracle.com if you need additional information or have any
2166458Sdfr * questions.
2266458Sdfr */
2366458Sdfr
2466458Sdfr/**
2566458Sdfr * Test for Showdown markdown parser work with Nashorn.
2666458Sdfr *
2766458Sdfr * @test
2866458Sdfr * @run
2966458Sdfr */
3066458Sdfr
3166458Sdfrvar input = "\n  > This is a multi line blockquote test\n\n  > With more than one line.";
3266458Sdfrvar output = converter.makeHtml(input);
3366458Sdfrprint(output);
3466458Sdfr