Item11550: macro INCLUDE issue when the incluing topic ends with TML bullet list
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Engine
Component: INCLUDE
Branches:
--
JuanPabloGaviria - 22 Feb 2012
There is a problem when the traing to include a topic that ends with TML bullet list, the problem:
TOPIC A (
TestTopic133280):
hola mundo esto es una prueba de bullets con include:
* hola
* que mas
* bien o que
* ...
TOPIC B (
TestTopic133281):
%INCLUDE{Sandbox/TestTopic133280}% hola mundo
So, the topic B html looks like this:
hola mundo esto es una prueba de bullets con include: <ul>
<li> hola
</li> <li> que mas
</li> <li> bien o que
</li> <li> ... hola mundo
</li></ul>
If you can notice the "hola mundo" at the end of the line of the TOPIC B is included in the list. This should look like:
hola mundo esto es una prueba de bullets con include: <ul>
<li> hola
</li> <li> que mas
</li> <li> bien o que
</li> <li> ...
</li></ul> hola mundo
This is a problem when you try to use
INCLUDE in a formatted search.
Any ideas how to solve this.
--
JuanPabloGaviria - 22 Feb 2012
That's a feature I would say. You need to put an extra carriage return, so \n in the search, to stop the parsing of the " * ..." into a bullet list. Adding extra final carriage returns would break so many features and solve nothing.
--
OlivierRaginel - 23 Feb 2012