Details

    • Branch Version/s:
      6.0.x, 5.2.x
    • Backported to Branch:
      Committed

      Description

      When adding the following preformated text

      {{

      { http://cnn.com }

      }}

      you would expect the output to be

      http://cnn.com

      but instead it is

      http://cnn.com

      This is an even bigger issue when copying and pasting code that contains URLs

      1. jsp-wiki.png
        121 kB
      2. Screen shot 2010-10-26 at 1.59.55 PM.png
        5 kB
      3. Screen shot 2010-10-26 at 2.00.03 PM.png
        5 kB
      4. wiki-test.png
        11 kB

        Issue Links

          Activity

          Hide
          moob Milan Jaroš added a comment -

          I modified org.wikiwizard.jspwiki.filters.CreoleToJSPWikiTranslator which comes from CreoleFilter-1.0.7.jar. Unfortunately I can't find sources anywhere so I modified de-compiled class. Modification is described in source file on line 165.

          To fix problem you should delete tomcat-6.0.18\webapps\ROOT\WEB-INF\lib\creolefilter.jar and move CreoleFilter-1.0.7-modified.jar here.

          Show
          moob Milan Jaroš added a comment - I modified org.wikiwizard.jspwiki.filters.CreoleToJSPWikiTranslator which comes from CreoleFilter-1.0.7.jar. Unfortunately I can't find sources anywhere so I modified de-compiled class. Modification is described in source file on line 165. To fix problem you should delete tomcat-6.0.18\webapps\ROOT\WEB-INF\lib\creolefilter.jar and move CreoleFilter-1.0.7-modified.jar here.
          Hide
          douglas.wong Douglas Wong added a comment -

          Hi Milan, Even though we're not going to use the modified jar, we appreciate your work as it highlighted the source of the issue. Creolefilter.jar hasn't been updated since 2008, and the source files aren't accessible, so we're going to use the JSPWiki implementation, since it's still being updated and the source code is readily available. Thanks again for your contributions!

          Show
          douglas.wong Douglas Wong added a comment - Hi Milan, Even though we're not going to use the modified jar, we appreciate your work as it highlighted the source of the issue. Creolefilter.jar hasn't been updated since 2008, and the source files aren't accessible, so we're going to use the JSPWiki implementation, since it's still being updated and the source code is readily available. Thanks again for your contributions!
          Hide
          moob Milan Jaroš added a comment -

          Don't mention it. So is this problem resolved? Or could I help somehow?

          Show
          moob Milan Jaroš added a comment - Don't mention it. So is this problem resolved? Or could I help somehow?
          Hide
          douglas.wong Douglas Wong added a comment -

          Yes, this issue is resolved and the fix should be included in the next CE release. The core of the fix is basically changing the liferay CreoleFilter class to extend com.ecyrd.jspwiki.filters.CreoleFilter instead of org.wikiwizard.jspwiki.filters.CreoleFilter.

          Show
          douglas.wong Douglas Wong added a comment - Yes, this issue is resolved and the fix should be included in the next CE release. The core of the fix is basically changing the liferay CreoleFilter class to extend com.ecyrd.jspwiki.filters.CreoleFilter instead of org.wikiwizard.jspwiki.filters.CreoleFilter.
          Hide
          ricardofunke ricardofunke added a comment -

          Thanks Milan Jaroš, I just use your jar file to fix this issue. Works like a charm...

          Show
          ricardofunke ricardofunke added a comment - Thanks Milan Jaroš, I just use your jar file to fix this issue. Works like a charm...

            People

            • Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 5 weeks, 6 days ago

                Development

                  Subcomponents