diff --git a/README.md b/README.md index 0ae8bed..c6d69ef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Inweb 7.2.1 -[Version](notes/versioning.md): 7.2.1-beta+1B60 'Escape to Danger' (14 March 2024) +[Version](notes/versioning.md): 7.2.1-beta+1B61 'Escape to Danger' (4 April 2024) ## About Inweb diff --git a/build.txt b/build.txt index 3d21d82..3fae2b8 100644 --- a/build.txt +++ b/build.txt @@ -1,3 +1,3 @@ Prerelease: beta -Build Date: 14 March 2024 -Build Number: 1B60 +Build Date: 4 April 2024 +Build Number: 1B61 diff --git a/docs/foundation-module/5-im.html b/docs/foundation-module/5-im.html index 7221cc7..cb3f771 100644 --- a/docs/foundation-module/5-im.html +++ b/docs/foundation-module/5-im.html @@ -1084,19 +1084,24 @@

HTML_OPEN_WITH("blockquote", "class=\"extract-inform7\""); if (GENERAL_POINTER_IS_NULL(md->user_state) == FALSE) { markdown_item *first = RETRIEVE_POINTER_markdown_item(md->user_state); - TEMPORARY_TEXT(accumulated) - for (markdown_item *ch = md; ch; ch = ch->next) { - if (ch->type == CODE_BLOCK_MIT) { - if (GENERAL_POINTER_IS_NULL(ch->user_state) == FALSE) { - markdown_item *latest = RETRIEVE_POINTER_markdown_item(ch->user_state); - if (first == latest) WRITE_TO(accumulated, "%S", ch->stashed); + if (first == md) { + TEMPORARY_TEXT(accumulated) + for (markdown_item *ch = first; ch; ch = ch->next) { + if (ch->type == CODE_BLOCK_MIT) { + if (GENERAL_POINTER_IS_NULL(ch->user_state) == FALSE) { + markdown_item *latest = RETRIEVE_POINTER_markdown_item(ch->user_state); + if (first == latest) { + if (ch != first) WRITE_TO(accumulated, "\n"); + WRITE_TO(accumulated, "%S", ch->stashed); + } + } } } + #ifdef HTML_MODULE + PasteButtons::paste_text_new_style(OUT, accumulated); + #endif + DISCARD_TEXT(accumulated) } - #ifdef HTML_MODULE - PasteButtons::paste_text_new_style(OUT, accumulated); - #endif - DISCARD_TEXT(accumulated) } TEMPORARY_TEXT(colouring) programming_language *default_language = Languages::find_by_name(I"Inform", NULL, FALSE); diff --git a/docs/goldbach/goldbach.pdf b/docs/goldbach/goldbach.pdf index be2621e..9e4f256 100644 Binary files a/docs/goldbach/goldbach.pdf and b/docs/goldbach/goldbach.pdf differ diff --git a/foundation-module/Chapter 5/Inform-Flavoured Markdown.w b/foundation-module/Chapter 5/Inform-Flavoured Markdown.w index f7638c0..415475b 100644 --- a/foundation-module/Chapter 5/Inform-Flavoured Markdown.w +++ b/foundation-module/Chapter 5/Inform-Flavoured Markdown.w @@ -940,19 +940,24 @@ use "transcript" instead. HTML_OPEN_WITH("blockquote", "class=\"extract-inform7\""); if (GENERAL_POINTER_IS_NULL(md->user_state) == FALSE) { markdown_item *first = RETRIEVE_POINTER_markdown_item(md->user_state); - TEMPORARY_TEXT(accumulated) - for (markdown_item *ch = md; ch; ch = ch->next) { - if (ch->type == CODE_BLOCK_MIT) { - if (GENERAL_POINTER_IS_NULL(ch->user_state) == FALSE) { - markdown_item *latest = RETRIEVE_POINTER_markdown_item(ch->user_state); - if (first == latest) WRITE_TO(accumulated, "%S", ch->stashed); + if (first == md) { + TEMPORARY_TEXT(accumulated) + for (markdown_item *ch = first; ch; ch = ch->next) { + if (ch->type == CODE_BLOCK_MIT) { + if (GENERAL_POINTER_IS_NULL(ch->user_state) == FALSE) { + markdown_item *latest = RETRIEVE_POINTER_markdown_item(ch->user_state); + if (first == latest) { + if (ch != first) WRITE_TO(accumulated, "\n"); + WRITE_TO(accumulated, "%S", ch->stashed); + } + } } } + #ifdef HTML_MODULE + PasteButtons::paste_text_new_style(OUT, accumulated); + #endif + DISCARD_TEXT(accumulated) } - #ifdef HTML_MODULE - PasteButtons::paste_text_new_style(OUT, accumulated); - #endif - DISCARD_TEXT(accumulated) } TEMPORARY_TEXT(colouring) programming_language *default_language = Languages::find_by_name(I"Inform", NULL, FALSE);