Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
InfoLEA
admin
Guide des Études LEA
Commits
6fe5c84d
Commit
6fe5c84d
authored
Jun 23, 2020
by
BERTHAUT Florent
Browse files
Remove extra <br/> in the fiches
parent
4f6493be
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
output/guide-Traduction_spécialisée_multilingue.html
View file @
6fe5c84d
This diff is collapsed.
Click to expand it.
output/guide-Traduction_spécialisée_multilingue.md
View file @
6fe5c84d
This diff is collapsed.
Click to expand it.
output/guide-Traduction_spécialisée_multilingue.odt
View file @
6fe5c84d
No preview for this file type
src/leaguide.js
View file @
6fe5c84d
...
...
@@ -93,9 +93,11 @@ function writeFilteredFicheToStr(guide, f) {
//guide.str +="<p>\n";
guide
.
str
+=
"
<span custom-style='Paragraph Title'>
"
+
destField
+
"
: </span>
"
;
for
(
let
origField
of
parcFilt
.
get
(
destField
))
{
guide
.
str
+=
f
[
origField
]
+
"
"
;
let
fieldText
=
f
[
origField
];
fieldText
=
fieldText
.
replace
(
/<br
\/
>/g
,
""
);
guide
.
str
+=
fieldText
+
"
"
;
if
(
!
String
(
f
[
origField
])
.
includes
(
"
</p>
"
))
{
if
(
!
fieldText
.
includes
(
"
</p>
"
))
{
guide
.
str
+=
"
<br/>
\n
"
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment