Skip to content

Exception thrown when using render_s with asciidoc #1289

Description

@dometto

Example:

GitHub::Markup.render_s(:asciidoc, "Test")

Error thrown:

no implicit conversion of nil into String

The problem is that the asciidoc rendering block assumes a filename is present (which is not the case when using render_s). See here.

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