[fixed] Forum SW is suppressing comments in code blocks

  • As @a-ha did mention here shell comments are suppressed in code blocks.


    As example the following snippet contains three comments including the shebang line:


    Shell-Script
    1. #!/bin/sh
    2. # comment 1
    3. echo
    4. # comment 2
  • oh that should not happen


    Code
    1. #!/bin/sh
    2. # This is a comment!
    3. echo Hello World # This is a comment, too!


    Shell-Script
    1. #!/bin/sh
    2. # This is a comment!
    3. echo Hello World # This is a comment, too!


    Looks like the shell interpreter is broken somehow :/ guess forum sws fault (i think) - I try to open an issue there, tx for reporting.

  • CvH

    Closed the thread.
  • CvH

    Changed the title of the thread from “Forum SW is suppressing comments in code blocks” to “[fixed] Forum SW is suppressing comments in code blocks”.