1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:17:36 +00:00

Everywhere: Update references from ReadMe.md => README.md

This commit is contained in:
Andreas Kling 2021-04-11 10:52:25 +02:00
parent 698c38959d
commit 251018676f
6 changed files with 8 additions and 8 deletions

View file

@ -133,14 +133,14 @@ void SerendipityWidget::open_and_parse_tips_file()
void SerendipityWidget::open_and_parse_readme_file()
{
auto file = Core::File::construct("/home/anon/ReadMe.md");
auto file = Core::File::construct("/home/anon/README.md");
if (!file->open(Core::IODevice::ReadOnly))
return;
auto document = Markdown::Document::parse(file->read_all());
if (document) {
auto html = document->render_to_html();
m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/ReadMe.md"));
m_web_view->load_html(html, URL::create_with_file_protocol("/home/anon/README.md"));
}
}