Skip to content

Commit bf0ccc5

Browse files
committed
Fix ktlint issues
1 parent edc31a3 commit bf0ccc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/VideoShortcodePlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class VideoShortcodePlugin : IHtmlPreprocessor, IHtmlPostprocessor {
1818

1919
override fun onHtmlProcessed(source: String): String {
2020
return StringBuilder(source)
21-
.replace(Regex("<${TAG}([^>]*(?<! )) */>"), { it -> fromHTMLToShortcode(it) })
22-
.replace(Regex("<${TAG}([^>]*(?<! )) */>"), { it -> fromHTMLToShortcode(it) })
21+
.replace(Regex("<$TAG([^>]*(?<! )) */>"), { it -> fromHTMLToShortcode(it) })
22+
.replace(Regex("<$TAG([^>]*(?<! )) */>"), { it -> fromHTMLToShortcode(it) })
2323
}
2424

2525
/**

0 commit comments

Comments
 (0)