Skip to content

Commit

Permalink
#1099 consistency: close all <meta> with trailing "/".
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkleinpaste committed Feb 19, 2025
1 parent e1e8f94 commit 3623802
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions src/editor/template.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
<html>\n\
<head>\n\
<title>studypad template</title>\n\
<meta name=\"generator\" content=\"Studypad\">\n\
<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n\
<meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=UTF-8\">\n\
<meta http-equiv=\"content-style-type\" content=\"text/css\">\n\
<meta http-equiv=\"expires\" content=\"0\">\n\
<meta name=\"generator\" content=\"Studypad\" />\n\
<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\" />\n\
<meta http-equiv=\"content-type\" content=\"application/xhtml+xml; charset=UTF-8\" />\n\
<meta http-equiv=\"content-style-type\" content=\"text/css\" />\n\
<meta http-equiv=\"expires\" content=\"0\" />\n\
<style content=\"text/css\">\n\
a { text-decoration:none; } \n\
span.M1 { \n\
Expand Down
2 changes: 1 addition & 1 deletion src/gtk/about_modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ gui_core_display_about_dialog(const gchar *desc,
static const char *html_end = "</font></body></html>";
MOD_FONT *mf = get_font(modname);
g_string_printf(html_start,
"<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"></head><body bgcolor=\"%s\" text=\"%s\"><font face=\"%s\" size=\"%+d\">",
"<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /></head><body bgcolor=\"%s\" text=\"%s\"><font face=\"%s\" size=\"%+d\">",
settings.bible_bg_color,
settings.bible_text_color,
((mf->old_font) ? mf->old_font : ""),
Expand Down
2 changes: 1 addition & 1 deletion src/gtk/search_dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
#define SEARCHING N_("Searching the ")
#define SMODULE N_(" Module")
#define FINDS N_("found in ")
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></style></head>"
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></style></head>"

SEARCH_DIALOG1 search1;

Expand Down
2 changes: 1 addition & 1 deletion src/main/export_passage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include "main/sword.h"
#include "main/global_ops.hh"

#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } .transChangeSupplied { font-style: italic; } --></style></head><body>"
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } .transChangeSupplied { font-style: italic; } --></style></head><body>"

enum {
TARGET_HTML,
Expand Down
2 changes: 1 addition & 1 deletion src/main/module_dialogs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

#include "gui/debug_glib_null.h"

#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></style></head>"
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><style type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></style></head>"

typedef struct _treeitem TreeItem;
struct _treeitem
Expand Down
2 changes: 1 addition & 1 deletion src/main/parallel_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include "gui/debug_glib_null.h"

#define HTML_START \
"<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\
"<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\
<style type=\"text/css\">\
A { text-decoration:none } \
*[dir=rtl] { text-align: right; }\
Expand Down
2 changes: 1 addition & 1 deletion src/main/previewer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ extern "C" {

#include "gui/debug_glib_null.h"

#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">\
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\
<style type=\"text/css\"><!-- \
A { text-decoration:none } \
*[dir=rtl] { text-align: right;} \
Expand Down
2 changes: 1 addition & 1 deletion src/main/search_dialog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#define SEARCHING _("Searching the ")
#define SMODULE _(" Module")
#define FINDS _("found in ")
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"><STYLE type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></STYLE></head>"
#define HTML_START "<html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /><STYLE type=\"text/css\"><!-- A { text-decoration:none } *[dir=rtl] { text-align: right; } --></STYLE></head>"

static BackEnd *backendSearch = NULL;

Expand Down

0 comments on commit 3623802

Please sign in to comment.