From 761002a42c71b6d132e86dbe7e12ecfaca5fd071 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 9 Jul 2014 13:17:09 +0600 Subject: [PATCH] SONAR-5333 Update links style inside markdown text --- .../src/main/hbs/coding-rules/coding-rules-detail.hbs | 4 ++-- sonar-server/src/main/hbs/issues/issue.hbs | 2 +- sonar-server/src/main/less/ui.less | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs index f10a2691851..d2ae4a8a2b6 100644 --- a/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs +++ b/sonar-server/src/main/hbs/coding-rules/coding-rules-detail.hbs @@ -48,7 +48,7 @@ {{/if}} -
{{{htmlDesc}}}
+
{{{htmlDesc}}}
{{#if templateKey}} {{#if canWrite}} @@ -64,7 +64,7 @@
{{#if htmlNote}} -
{{{htmlNote}}}
{{/if}} +
{{{htmlNote}}}
{{/if}} {{#if canWrite}}
{{/if}} diff --git a/sonar-server/src/main/hbs/issues/issue.hbs b/sonar-server/src/main/hbs/issues/issue.hbs index cbdb2c11765..ac3a80fd69e 100644 --- a/sonar-server/src/main/hbs/issues/issue.hbs +++ b/sonar-server/src/main/hbs/issues/issue.hbs @@ -135,7 +135,7 @@ data-confirm-msg="{{t 'issue.comment.delete_confirm_message'}}">{{t 'delete'}} {{/if}} - {{{show html htmlText}}} +
{{{show html htmlText}}}
{{/each}}
diff --git a/sonar-server/src/main/less/ui.less b/sonar-server/src/main/less/ui.less index b4e98b5bd54..1b87bae4f2a 100644 --- a/sonar-server/src/main/less/ui.less +++ b/sonar-server/src/main/less/ui.less @@ -292,3 +292,8 @@ input[type=button] { background-color: @red; color: #fff; } + + +.markdown { + a { .underlined-link; } +} -- 2.39.5