about
  1. about
  2. ABOUT-10

forum - display preformated code snippets

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      all browsers

      Description

      The new forum looks much better than before!
      But as you can see in this thread:

      http://www.java.net/forum/topic/glassfish/glassfish/glassfish-start-issue-most-recent-update#comment-812579

      the design is no optimal for posting Java Code, Stacktraces or Server logs - which is something posted most in such a technical forum to clarify issues.

      The log info I posted in that thread, was formated in the editor as 'formated'. The posting looks fine in the wysiwyg-editor. But in the outcome the formating of the code was lost.

      I think the output would be more readable if such formated comments are packed into a <pre> tag.
      Like:
      <pre style="width:600px;">

      I know this is not a perfect design but it helps the community to read code and logfiles more easy.

      ===
      ralph

        Activity

        Hide
        stongo added a comment -

        Brett, if you wrap code in the forums with <pre> or <code> it is already formatted in the CSS

        Show
        stongo added a comment - Brett, if you wrap code in the forums with <pre> or <code> it is already formatted in the CSS
        Hide
        arkelly added a comment -

        Changing owner.

        Show
        arkelly added a comment - Changing owner.
        Hide
        fnikola added a comment -

        This issue has been resolved with the new WYSIWYG editor and its code block toolbar button (implementation of <pre></pre> tags).

        Show
        fnikola added a comment - This issue has been resolved with the new WYSIWYG editor and its code block toolbar button (implementation of <pre></pre> tags).

          People

          • Assignee:
            fnikola
            Reporter:
            rsoika
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: