Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Urvil Shah
/
MobEasyEditor
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
786bff5a
authored
Apr 13, 2018
by
Urvil Shah
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove the Wraping of anchor tag
parent
cc5e7a15
Pipeline
#7391
passed with stages
in 23 minutes 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
Mobile.Search.Web/Controllers/TemplateController.cs
Mobile.Search.Web/Controllers/TemplateController.cs
View file @
786bff5a
...
...
@@ -143,7 +143,7 @@ namespace Mobile.Search.Web.Controllers
// POST: Template/Edit/5
[
HttpPost
,
ValidateInput
(
false
)]
public
ActionResult
FroalaIndex
(
string
key
,
string
value
,
string
EmailId
,
bool
isSendEmail
=
false
,
bool
WrapUrl
=
false
,
bool
AdvertiserHasUnSub
=
tru
e
)
public
ActionResult
FroalaIndex
(
string
key
,
string
value
,
string
EmailId
,
bool
isSendEmail
=
false
,
bool
WrapUrl
=
false
,
bool
AdvertiserHasUnSub
=
fals
e
)
{
try
{
...
...
@@ -171,7 +171,7 @@ namespace Mobile.Search.Web.Controllers
{
to_replace
=
String
.
Format
(
"{{{{WrapAdvertiserUnsubscribeUrl('{0}')}}}}"
,
m
.
Groups
[
1
]);
}
if
(
m
.
Groups
[
1
].
Value
.
Count
()>
0
)
if
(
m
.
Groups
[
1
].
Value
.
Count
()>
0
&&
!
m
.
Groups
[
1
].
Value
.
Contains
(
"anchor"
)
)
{
value
=
value
.
Replace
(
m
.
Groups
[
1
].
Value
,
to_replace
);
}
...
...
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