Skip to content

Commit f8a962c

Browse files
committed
Adds pattern to the word "abstract".
Issue: documentacao-e-tarefas/scielo#137 Signed-off-by: Aline <aline@lepidus.com.br> Signed-off-by: Andrey <andrey@lepidus.com.br>
1 parent c21772f commit f8a962c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

classes/DocumentChecker.inc.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ private function isORCID($text) {
5252

5353
private $patternsAbstractEnglish = array(
5454
array("abstract"),
55+
array("abstract:"),
5556
array("summary")
5657
);
5758

@@ -130,7 +131,7 @@ private function checkKeywordsEnglish(){
130131
}
131132

132133
private function checkAbstractEnglish(){
133-
return $this->checkForPattern($this->patternsAbstractEnglish, 2, 94, 1);
134+
return $this->checkForPattern($this->patternsAbstractEnglish, 2, 95, 1);
134135
}
135136

136137
private function checkTitleEnglish($title){

0 commit comments

Comments
 (0)