Comments (4)
Change the XWIki parser to make possible to write lists with spaces at the
beginning
of the line. Regular expression: … \s*(["*"]+)\s+
Original comment by [email protected]
on 13 Jun 2008 at 1:20
- Added labels: ****
- Removed labels: ****
from wikimodel.
Original comment by [email protected]
on 29 Jun 2008 at 8:26
- Changed state: Accepted
- Added labels: ****
- Removed labels: ****
from wikimodel.
Here's a patch:
Index: src/main/java/org/wikimodel/wem/xwiki/javacc/XWikiScanner.jj
===================================================================
--- src/main/java/org/wikimodel/wem/xwiki/javacc/XWikiScanner.jj
(revision 192)
+++ src/main/java/org/wikimodel/wem/xwiki/javacc/XWikiScanner.jj
(working copy)
@@ -93,7 +93,7 @@
<DEFAULT, INITIAL_CONTEXT> TOKEN:
{
- <#LI: ( ("*")+ | ( "1" | "*" )+ "." ) (<SPACE>)* >
+ <#LI: (<SPACE>)* ( ("*")+ | ( "1" | "*" )+ "." ) (<SPACE>)* >
| <#HEADER: ( "1" ("." "1" ) {0, 5} ) (<SPACE>)* >
| <#ESCAPE: ( "\\" ~["\\", " ", "\t", "\n", "\r"] ) >
| <#BR: "\\\\" >
Original comment by [email protected]
on 24 Jul 2008 at 5:14
- Added labels: ****
- Removed labels: ****
from wikimodel.
Thank you for the patch!
Original comment by [email protected]
on 24 Jul 2008 at 8:03
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****
from wikimodel.
Related Issues (20)
- XHTMLParser does not support inner span HOT 3
- wikimodel's usage of cssparser breaks css4j HOT 2
- MediaWiki parser : to parse nested link/reference HOT 1
- MediaWikiParser - NullPointerException on two quote-blocks after empty lines HOT 2
- Confluence - multiline table HOT 1
- Confluence - more emoticons without space HOT 1
- Confluence - basic formating in bracklet HOT 1
- Introduce block nesting level limit
- XHTMLParser - table cells that start with an empty line are badly parsed HOT 1
- MediaWikiParser - Complex macro fails to be parsed as macro. Due to nested macro as paramter ? HOT 3
- [Confluence] Support HTML macro HOT 2
- MediaWiki - Not support <pre class="XXX"> HOT 1
- Confluence - Cannot combine "*" with noformat tag HOT 11
- Confluence 1.0 - The wrong result when parse a string HOT 8
- Error in parsing a text line containing a macro HOT 3
- Confluence - Support list in table HOT 20
- XHTML parser - Empty line before macro is not taken into account HOT 1
- MediaWiki: handle self-closing ref tags and more general <ref> syntax
- MediaWiki: skip HTML-style comments HOT 1
- MediaWiki: unescape html entities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wikimodel.