GitLab hides some part of text

Summary

GitLab hides some part of text during review. So what you actually review is not the same what will be merged, the content is different.

Steps to reproduce

Commit line \#<url>https://google.com/?q=test</url>#{s|<url>.*?</url>|<url>test</url>|;n;s|||} - it will be displayed as \#>#{s|<url>.*?</url>|<url>test</url>|;n;s|||}

Example Project

https://gitlab.com/dmgorbunov/bug-demo/blob/feature-1/test.sed

Pressing 'Edit' button show the actual content.

What is the current bug behavior?

Some part of text is hidden

What is the expected correct behavior?

I expect to see the actual content without modification.

Output of checks

This bug is happening in GitLab.com and at least in Professional Edition

Possible fixes

Simplify interpreting the content of source files.

Edited Jan 10, 2018 by Dmytro Gorbunov
Assignee Loading
Time tracking Loading