Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for now, no formatting html passing to these lists #1932

Merged
merged 3 commits into from
Jun 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions www/experiments/http-redirects.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ foreach ($requests as $request) {
function joinValues($arr){
$oneLevel = array();
foreach($arr as $item){
array_push($oneLevel, '<b>From: </b>' . implode(" <b>To: </b>",$item));
array_push($oneLevel, 'FROM: ' . implode(" TO: ",$item));
}
return $oneLevel;
}
Expand Down Expand Up @@ -61,4 +61,4 @@ else {
);
}

?>
?>
5 changes: 2 additions & 3 deletions www/experiments/lcp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@
"title" => "Largest Contentful Paint is high (over 2.5s).",
"desc" => "The element driving your LCP is a" . ($isBG ? " background" : "n") . " image. Some optimizations can help that image fetch earlier.",
"examples" => array(
"<strong>LCP Image:</strong> <img src=\"" . $lcpFullSource . "\" alt=\"\">",
"<strong>LCP HTML:</strong>" . $lcpHTML
"LCP Image: $lcpFullSource"
),
"experiments" => $expsToAdd,
"good" => false
Expand Down Expand Up @@ -105,4 +104,4 @@

}

?>
?>
4 changes: 2 additions & 2 deletions www/experiments/tbt.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if (isset($tbtMetric)) {
function joinTimeUrlValues($arr){
$oneLevel = array();
foreach($arr as $url => $time){
array_push($oneLevel, "<b>$time ms: </b> $url");
array_push($oneLevel, "$time ms: $url")
}
return $oneLevel;
}
Expand Down Expand Up @@ -86,4 +86,4 @@ if (isset($tbtMetric)) {
}


?>
?>