Skip to content

Commit b80ed1c

Browse files
committed
[TASK] Integration test version with trailing zero
references #829
1 parent 8c76e56 commit b80ed1c

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- content start -->
2+
<div class="section" id="some-document">
3+
<h1>Some Document</h1>
4+
5+
<p>Project Render guides in version 3.0, release 3.0.0.</p>
6+
</div>
7+
8+
<!-- content end -->
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
<guides
3+
xmlns="https://www.phpdoc.org/guides"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="https://www.phpdoc.org/guides vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd"
6+
>
7+
<project
8+
title="Render guides"
9+
version="3.0"
10+
release="3.0.0"
11+
/>
12+
</guides>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Some Document
2+
=============
3+
4+
Project |project| in version |version|, release |release|.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 is treated as a float in the TreeBuilder and the trailing zero is lost

0 commit comments

Comments
 (0)