Skip to content

Generate multiple html, head and body tags #498

Closed

Description

The example code generates multiple html, head and body tags in the view-source. I am afraid it's an invalid html code and may impact SEO negatively. Any thoughts?

"<html>
<head>
</head>
 
<body>
<html xmlns="http://www.w3.org/1999/xhtml"> 
 <head>
</head>
 <body>
</body>
</html>
</body>
</html>"
---
title: "Hello, Tutorial!"
output: learnr::tutorial
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(learnr)
```

This code computes the answer to one plus one, change it so it computes two plus two:

```{r addition, exercise=TRUE}
1 + 1
```

Activity

  1. gadenbuie commented on Feb 23, 2021

    @gadenbuie
    Member

    Thanks for the report! This issue is being tracked in rstudio/rmarkdown#1912, please subscribe there to be notified when it's resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions