diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-12-21 05:22:27 +0300 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2019-01-21 22:45:16 +0300 |
commit | 45a04f93747a128588268395071f00d0af70acd7 (patch) | |
tree | 308c01c9537fa30f72f6a8649ce699a8045fe652 /spec/helpers/issuables_helper_spec.rb | |
parent | c141d0afb15366beb1cae8a240faf6aaeb632214 (diff) |
Enable CommonMark source line position information
This adds 'data-sourcepos' to tags, indicating which
line of markdown it came from. Sets the stage for
intelligently manipulating specific lines of markdown.
Diffstat (limited to 'spec/helpers/issuables_helper_spec.rb')
-rw-r--r-- | spec/helpers/issuables_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/issuables_helper_spec.rb b/spec/helpers/issuables_helper_spec.rb index 81231cca085..963d3029830 100644 --- a/spec/helpers/issuables_helper_spec.rb +++ b/spec/helpers/issuables_helper_spec.rb @@ -193,7 +193,7 @@ describe IssuablesHelper do projectNamespace: @project.namespace.path, initialTitleHtml: issue.title, initialTitleText: issue.title, - initialDescriptionHtml: '<p dir="auto">issue text</p>', + initialDescriptionHtml: '<p data-sourcepos="1:1-1:10" dir="auto">issue text</p>', initialDescriptionText: 'issue text', initialTaskStatus: '0 of 0 tasks completed' } |