Hi Marat, Thank you for your response. I agree, it seems like the browser is eating away the code & copying the code from the raw version seems like like a workaround but not an actual fix to the problem. So I have created the issue as you directed me & here is the link to the same: https://gitlab.com/gitlab-com/support-forum/issues/700
What would be my next step? Do I have to wait for someone to attend to it? I am new to the Gitlab community so please let me know. Thank you. On Monday, May 9, 2016 at 4:28:57 PM UTC+5:30, Marat Kalibekov wrote: > > Hi! > it is the problem with the rendering contents to browser, maybe some > preprocessor before highlighting markup eats these parts. > If you try to open raw version of that file, it will be shown correctly. > > In any case, support ticket should be open. > > https://gitlab.com/gitlab-com/support-forum/issues > > > > > -- > Kalibekov Marat > 8 777 4826322 > > On Mon, May 9, 2016 at 11:54 AM, Vishal <visha...@gmail.com <javascript:>> > wrote: > >> Hi, >> I pushed some .htaccess code to the Gitlab repo. After the code was saved >> & when I tried to read through the code, I found that a specific section of >> the code was messed up, i.e. the code was parsed & the result was shown >> instead of showing the file content as text. >> >> *Here is the actual code of the .htaccess file:* >> <IfModule mod_gzip.c> >> mod_gzip_on Yes >> mod_gzip_dechunk Yes >> mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ >> mod_gzip_item_include handler ^cgi-script$ >> mod_gzip_item_include mime ^text/.* >> mod_gzip_item_include mime ^application/x-javascript.* >> mod_gzip_item_exclude mime ^image/.* >> mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* >> </IfModule> >> >> *Here is what I see as the content of the file, after saving:* >> <IfModule mod_gzip.c> >> Yes >> Yes >> file \.(html?|txt|css|js|php|pl)$ >> handler ^cgi-script$ >> mime ^text/.* >> mime ^application/x-javascript.* >> mime ^image/.* >> rspheader ^Content-Encoding:.*gzip.* >> </IfModule> >> >> >> Please do observe that more commonly, the prefix mod_gzip_on is being >> lost. Can anyone please help me with it? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "GitLab" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to gitlabhq+u...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/gitlabhq/ed3586e0-5933-4e7c-bcdc-b0b226417c68%40googlegroups.com >> >> <https://groups.google.com/d/msgid/gitlabhq/ed3586e0-5933-4e7c-bcdc-b0b226417c68%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to gitlabhq+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/gitlabhq/a646e6b2-923c-42d5-bf61-66a8b2d677ce%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.