serlo / serlo-export

Export Serlo.org and Mathe für Nicht-Freaks articles into various output formats
https://de.serlo.org/
Apache License 2.0
5 stars 1 forks source link

Better parsing of #lst:-content #76

Closed kulla closed 7 years ago

kulla commented 7 years ago

Take the following example:

 <!-- Article 1 -->
 {{#lst:Article 2|test}}

 <!-- Article 2 -->
 <section begin="test" />Hello World<section end="test" /> 
 {{#lst:Article 3|test2}}

 <!-- Article 3 -->
 {{#lst:Article 4|...}}

In order to fetch Hello World in article 1 also Article 3 and Article 4 is fully loaded and parsed and this decreases the parser function. We should find a solution that {{#lst:Article 2|test}} only loads Hello World instead of the whole article.