Skip to content

Commit

Permalink
Catch all single-expression add-ons
Browse files Browse the repository at this point in the history
  • Loading branch information
gzotti committed Oct 30, 2023
1 parent e5c353f commit 30a324b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/StelObject.cpp
Expand Up @@ -966,8 +966,8 @@ void StelObject::postProcessInfoString(QString& str, const InfoStringGroup& flag
{
static const QRegularExpression brRe2("<br(\\s*/)?>\\s*");
static const QRegularExpression tdRe1("<td\\s*>");
static const QRegularExpression tdRe2("<td style='[^']*'>");
static const QRegularExpression tdRe3("<td style=\"[^\"]*\">");
static const QRegularExpression tdRe2("<td \\w+='[^']*'>"); // Seen: style, align, colspan, rowspan. Always only one expression.
static const QRegularExpression tdRe3("<td \\w+=\"[^\"]*\">");
static const QRegularExpression tableRe2("<table\\s*>");
static const QRegularExpression tableRe3("<table style='[^']*'>");
static const QRegularExpression tableRe4("<table style=\"[^\"]*\">");
Expand Down

0 comments on commit 30a324b

Please sign in to comment.