Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First lines removed from code blocks, if code starts on same line as opening tag #102

Open
pbb72 opened this issue Sep 1, 2020 · 0 comments

Comments

@pbb72
Copy link

pbb72 commented Sep 1, 2020

On multiline code blocks (inside <code>, <pre>, <source> or <nowiki> tags, or indented by space), if one writes the first line of code on the same line as the opening tag, then all code until the first empty line is removed.

Wiki code:

<pre>require 'rubygems'
require 'rake'
require File.join(File.dirname(__FILE__),'init')

require 'bundler'
Bundler::GemHelper.install_tasks</pre>

Mediawiki output:

<pre>require 'rubygems'
require 'rake'
require File.join(File.dirname(__FILE__),'init')

require 'bundler'
Bundler::GemHelper.install_tasks</pre>

Wikicloth output:

<pre>require 'bundler'
Bundler::GemHelper.install_tasks</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants