We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the Textile images spec, images can be right or left aligned, or centred:
!>/carver.png! !</carver.png! !=/carver.png!
Trying this, using RedCloth 4.3.2:
irb(main):066:0> RedCloth.new( '!>/carver.png!' ).to_html => "<p style=\"float:right;\"><img src=\"/carver.png\" alt=\"\" /></p>" irb(main):067:0> RedCloth.new( '!</carver.png!' ).to_html => "<p style=\"float:left;\"><img src=\"/carver.png\" alt=\"\" /></p>" irb(main):068:0> RedCloth.new( '!=/carver.png!' ).to_html => "<p><img src=\"/carver.png\" alt=\"\" /></p>"
irb(main):069:0> RedCloth.new( 'Hello!>/carver.png!' ).to_html => "<p>Hello<img src=\"/carver.png\" alt=\"\" /></p>"
irb(main):070:0> RedCloth.new( 'Hello\n\n!>/carver.png!' ).to_html => "<p>Hello\\n\\n<img src=\"/carver.png\" alt=\"\" /></p>"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According to the Textile images spec, images can be right or left aligned, or centred:
Trying this, using RedCloth 4.3.2:
The text was updated successfully, but these errors were encountered: