1
Fork 0

Add <meta charset="utf-8"> to -Zdump-mir-spanview output

This commit is contained in:
Zalathar 2023-06-17 14:38:51 +10:00
parent 670a0edaa9
commit 3eddb29555
4 changed files with 9 additions and 5 deletions

View file

@ -15,8 +15,9 @@ const ANNOTATION_LEFT_BRACKET: char = '\u{298a}'; // Unicode `Z NOTATION RIGHT B
const ANNOTATION_RIGHT_BRACKET: char = '\u{2989}'; // Unicode `Z NOTATION LEFT BINDING BRACKET` const ANNOTATION_RIGHT_BRACKET: char = '\u{2989}'; // Unicode `Z NOTATION LEFT BINDING BRACKET`
const NEW_LINE_SPAN: &str = "</span>\n<span class=\"line\">"; const NEW_LINE_SPAN: &str = "</span>\n<span class=\"line\">";
const HEADER: &str = r#"<!DOCTYPE html> const HEADER: &str = r#"<!DOCTYPE html>
<html> <html lang="en">
<head>"#; <head>
<meta charset="utf-8">"#;
const START_BODY: &str = r#"</head> const START_BODY: &str = r#"</head>
<body>"#; <body>"#;
const FOOTER: &str = r#"</body> const FOOTER: &str = r#"</body>

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8">
<title>spanview_block.main.built.after</title> <title>spanview_block.main.built.after</title>
<style> <style>
.line { .line {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8">
<title>spanview_statement.main.built.after</title> <title>spanview_statement.main.built.after</title>
<style> <style>
.line { .line {

View file

@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8">
<title>spanview_terminator.main.built.after</title> <title>spanview_terminator.main.built.after</title>
<style> <style>
.line { .line {