Skip to content

Commit

Permalink
Merge pull request #3739 from Hannah-Sten/excel-copy
Browse files Browse the repository at this point in the history
Fix html check when pasting tables from Excel
  • Loading branch information
PHPirates authored Nov 14, 2024
2 parents 8ac426b + 6e3ecf6 commit eb552bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ private val tagDependencies = hashMapOf(
)

fun htmlTextIsFormattable(htmlIn: String): Boolean =
(PandocHtmlToLatexConverter.isPandocInPath && htmlIn.startsWith("<meta")) || openingTags.keys.any { htmlIn.contains("<$it>") } && closingTags.keys.any { htmlIn.contains("<$it>") }
(PandocHtmlToLatexConverter.isPandocInPath && htmlIn.startsWith("<meta")) || openingTags.keys.any { htmlIn.contains("<$it") } && closingTags.keys.any { htmlIn.contains("</$it>") }

0 comments on commit eb552bb

Please sign in to comment.