Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ed740b93
Commit
ed740b93
authored
Sep 10, 2020
by
Olena Horal-Koretska
Committed by
Denys Mishunov
Sep 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Merge branch '241878-Replace-v-html' into 'master'"
This reverts merge request !41218
parent
30c193a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/vue_shared/components/blob_viewers/simple_viewer.vue
...ipts/vue_shared/components/blob_viewers/simple_viewer.vue
+3
-5
No files found.
app/assets/javascripts/vue_shared/components/blob_viewers/simple_viewer.vue
View file @
ed740b93
<
script
>
import
{
GlIcon
,
GlSafeHtmlDirective
as
SafeHtml
}
from
'
@gitlab/ui
'
;
/* eslint-disable vue/no-v-html */
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
ViewerMixin
from
'
./mixins
'
;
import
{
HIGHLIGHT_CLASS_NAME
}
from
'
./constants
'
;
...
...
@@ -7,9 +8,6 @@ export default {
components
:
{
GlIcon
,
},
directives
:
{
SafeHtml
,
},
mixins
:
[
ViewerMixin
],
data
()
{
return
{
...
...
@@ -66,7 +64,7 @@ export default {
</a>
</div>
<div
class=
"blob-content"
>
<pre
class=
"code highlight"
><code
id=
"blob-code-content"
v-
safe-
html=
"content"
></code></pre>
<pre
class=
"code highlight"
><code
id=
"blob-code-content"
v-html=
"content"
></code></pre>
</div>
</div>
</
template
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment