Skip to content

Commit bb595af

Browse files
committed
Revert "Wraps output in a code tag"
This reverts commit 8fd97cb.
1 parent 61e28fe commit bb595af

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@webscopeio/react-console",
3-
"version": "1.0.13",
3+
"version": "1.0.12",
44
"description": "React component that emulates console behaviour",
55
"author": "jvorcak",
66
"license": "MIT",

src/index.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,11 @@ export default class ReactConsole extends React.Component<Props, State> {
144144
>
145145
<div>
146146
{this.state.output.map((line, key) =>
147-
<code>
148-
<pre
149-
key={key}
150-
className={styles.line}
151-
dangerouslySetInnerHTML={{__html: line}}
152-
/>
153-
</code>
147+
<pre
148+
key={key}
149+
className={styles.line}
150+
dangerouslySetInnerHTML={{__html: line}}
151+
/>
154152
)}
155153
</div>
156154
<form

0 commit comments

Comments
 (0)