Commit 463c0525 authored by Tomas Mecir's avatar Tomas Mecir

libmxp fix

parent aa394bee
ChangeLog for libMXP
--------------------
*** RELEASED THIS AS VERSION 0.2.5 ***
2020-06-06
* Fixed entity expansion in custom tags, shouldn't be quoted
*** RELEASED THIS AS VERSION 0.2.4 ***
2009-11-28
......
News in libmxp 0.2.5:
- fix entity expansion in custom tags
News in libmxp 0.2.4:
- fix element parsing so that parameters can include spaces
......
......@@ -14,7 +14,7 @@ set (mxp_SRCS
add_library(mxp SHARED ${mxp_SRCS})
set_target_properties(mxp PROPERTIES VERSION 0.0.4 SOVERSION 0)
set_target_properties(mxp PROPERTIES VERSION 0.0.5 SOVERSION 0)
install(TARGETS mxp DESTINATION lib${LIB_SUFFIX} )
install (FILES libmxp.h DESTINATION include/libmxp)
......
......@@ -1448,7 +1448,7 @@ void cElementManager::processCustomTag (const string &name, const list<sParam> &
list<sParam>::const_iterator itp;
for (itp = params.begin(); itp != params.end(); ++itp)
//assign parameter value... default values and stuff were already expanded
paramexpander->addEntity ((*itp).name, "'" + (*itp).value + "'");
paramexpander->addEntity ((*itp).name, /*"'" +*/ (*itp).value /*+ "'"*/);
//process tag contents one by one
list<sElementPart *>::iterator it;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment