• Resolved raoulunger

    (@raoulunger)


    Hi, I think your plugin is very good, but there are some problems with commenting.

    When commenting out in a js-file (by inserting //) the comment shows up on the front end, and is nog ignored.

    Similarly in css, I have noticed several time that css would break when comments (between /* */) were inserted.

    So the plugin seems to have some erratic problems actually ignoring commented-out code. Is this a known issue?

    Cheers!

Viewing 1 replies (of 1 total)
  • Plugin Author SilkyPress

    (@diana_burduja)

    Hello,

    the plugin doesn’t remove the “/* */” or the “//” comments added to the JS or CSS custom codes. They do show up on the frontend’s HTML.

    I’m not sure what you mean by “the comments is nog ignored” (Does that mean “not ignored” or “are ignored”? In both cases the plugin only outputs the custom JS/CSS custom code to the frontend’s HTML. It is the browser’s job to make head and tail of it).

    Could you give me an example of CSS code that would break when there are also comments present in the code?

    To the “erratic problems actually ignoring commented-out code” I could only answer that the browser needs to ignore commented-out code. That is the correct behavior. Not ignoring the commented-out code would actually be a problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Commenting-out not working well’ is closed to new replies.