Skip to content

Doesn't work when #:lang is set to "scribble/manual" #13

Description

@dented42

Using "scribble/manual" as the language for the code example doesn't seem to work. An exception related to string manipulation is raised instead.

#lang scribble/manual
@(require scribble-code-examples)
@code-examples[#:lang "scribble/manual" #:context #'here]|{@title{Thing}}|

The result is:

substring: ending index is smaller than starting index
  ending index: 22
  starting index: 35
  valid range: [0, 35]
  string: "#lang scribble/manual\n@title{Thing}"

It also does't work with "scribble/base", but "scribble/text" works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions