Skip to content

Commit

Permalink
fix(middleware): use <html to replace <html>
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Sep 19, 2024
1 parent eccd913 commit 483ab87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class OpenWebpageProcessor : PostProcessor {
override val processorName: String get() = PostProcessorType.OpenWebpage.handleName

override fun isApplicable(context: PostProcessorContext): Boolean {
return context.genText?.contains("<html>") ?: false
return context.genText?.contains("<html") ?: false
}

override fun execute(project: Project, context: PostProcessorContext, console: ConsoleView?, args: List<Any>): Any {
Expand Down

0 comments on commit 483ab87

Please sign in to comment.