Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-8782

Camel words in the contest are interpreted as internal links

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 4.4.1
    • Rendering
    • None
    • Unknown
    • N/A
    • N/A

    Description

      In the xwiki we have "..Our TechTrek & Fun with Excursion.." we fetch this content through the Rest API and let it translate

      Converter converter = componentManager.getInstance(Converter.class);
      
      WikiPrinter printer = new DefaultWikiPrinter();
      ..
      converter.convert(new StringReader(page.getContent()),
           Syntax.XWIKI_2_1, Syntax.XHTML_1_0, printer);
      String out = printer.toString();
      

      The output is

      ..<span>Our <span class="wikiinternallink">
      <a href="TechTrek"><span class="wikigeneratedlinkcontent">TechTrek</span></a>
      </span> &amp; Fun with Excursion</span>..
      

      Note that a link is made, although this link does not exist in the Xwiki

      Attachments

        Activity

          People

            vmassol Vincent Massol
            tomce Tomas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: