01064: Problem when using "markup" and "chessboard" directives

Summary: Problem when using "markup" and "chessboard" directives
Created: 2009-01-22 16:25
Status: Closed - expected behaviour; note about this problem is added to recipe page
Category: Cookbook
From: Bartolin
Assigned:
Priority: 1
Version: 2.2.0
OS:

Description: There is a problem with ChessMarkup when using (:markup:): http://www.pmwiki.org/wiki/Cookbook/ChessMarkup#bug_with_markup_and_chessboard_directives

Tested on pmwiki.org with ChessMarkup version 2009-01-22.

Not very important, but I wanted to note it.

Update (2009-07-07): Today I took a closer look at the problem I reported earlier. It seems to me that the problem arises because everything within (:markup:) is interpreted first (and before the "normal" page content is interpreted). Therefore when using (:chessboard:) within a (:markup:) environment only PGN moves within other (earlier) (:markup:) environments are taken into account.

I think this behaviour won't pose problems for "real" sites. But it's problematic for the page Cookbook.ChessMarkup where (:markup:) is used in conjunction with (:chessboard:) for demonstration purposes. I'll go ahead and fix the page mentioned, because otherwise visitors may get the impression that the recipe doesn't work.

This bug report can be closed. (May I do that myself?)

Bartolin July 08, 2009, at 04:22 PM