(wholeMatch,m1)
| 429 | } |
| 430 | |
| 431 | var hashElement = function(wholeMatch,m1) { |
| 432 | var blockText = m1; |
| 433 | |
| 434 | // Undo double lines |
| 435 | blockText = blockText.replace(/\n\n/g,"\n"); |
| 436 | blockText = blockText.replace(/^\n/,""); |
| 437 | |
| 438 | // strip trailing blank lines |
| 439 | blockText = blockText.replace(/\n+$/g,""); |
| 440 | |
| 441 | // Replace the element text with a marker ("~KxK" where x is its key) |
| 442 | blockText = "\n\n~K" + (g_html_blocks.push(blockText)-1) + "K\n\n"; |
| 443 | |
| 444 | return blockText; |
| 445 | }; |
| 446 | |
| 447 | var _RunBlockGamut = function(text) { |
| 448 | // |
nothing calls this directly
no outgoing calls
no test coverage detected