Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
retypos-adapter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
eterfund
retypos-adapter
Commits
b5276763
Commit
b5276763
authored
Oct 23, 2018
by
Георгий Попов
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix context find error
parent
8203819c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
TyposClientInterface.php
src/TyposClientInterface.php
+3
-0
No files found.
src/TyposClientInterface.php
View file @
b5276763
...
...
@@ -144,6 +144,9 @@ abstract class TyposClientInterface
// BUG# 12799
$context
=
str_replace
(
"
\xe2\x80\x94
"
,
"-"
,
$context
);
// BUG# 12799 Need to change quotes and preg quote
$context
=
preg_quote
(
preg_replace
(
'#«([^«]*)»#'
,
'"$1"'
,
$context
));
// Trying to replace typo in text
try
{
error_log
(
"Trying to find a typo in article text..."
);
...
...
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